# CVE-2022-25271: Improper input validation in Drupal core

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.27%, higher than 70% of CVEs (2026-12-02)
- Published: 2022-02-16T00:00:00.000Z
- Modified: 2026-09-19T18:06:19.000Z
- Also known as: GHSA-fmfv-x8mp-5767, BIT-DRUPAL-2022-25271, DRUPAL-CORE-2022-003
- Weaknesses: CWE-20
- Assigned by: drupal

## Description

Drupal core's form API has a vulnerability where certain contributed or custom modules' forms may be vulnerable to improper input validation. This could allow an attacker to inject disallowed values or overwrite data. Affected forms are uncommon, but in certain cases an attacker could alter critical or sensitive data.

(As written by CVE List.)

## Affected

- Drupal Core: from 9.3.x before 9.3.6; from 9.2.x before 9.2.13; from 7.x before 7.88
- drupal/core (Packagist): from 9.3.0 before 9.3.6; from 8.0.0 before 9.2.13; from 7.0.0 before 7.88
- drupal drupal: from 7.0.0 before 7.88; from 9.2.0 before 9.2.13; from 9.3.0 before 9.3.6
- fedoraproject fedora: 35; 36
- drupal (Bitnami): from 7.0.0 before 7.88.0; from 9.2.0 before 9.2.13; from 9.3.0 before 9.3.6

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.drupal.org/sa-core-2022-003> (advisory, patch, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3/> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4/> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25271> (advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4> (web)

## Sources

- CVE List: [CVE-2022-25271](https://www.cve.org/CVERecord?id=CVE-2022-25271), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-fmfv-x8mp-5767](https://github.com/advisories/GHSA-fmfv-x8mp-5767), CC-BY-4.0, modified 2025-12-10
- Drupal Security Team: [DRUPAL-CORE-2022-003](https://osv.dev/vulnerability/DRUPAL-CORE-2022-003), MIT, modified 2026-09-19
- NVD: [CVE-2022-25271](https://nvd.nist.gov/vuln/detail/CVE-2022-25271), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DRUPAL-2022-25271](https://osv.dev/vulnerability/BIT-DRUPAL-2022-25271), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-25271 · Whole record: https://cve.day/CVE-2022-25271.json · Rebuilt by cve.day 2026-11-25T22:58:09.730Z
