CVE-2022-25271
Improper input validation in Drupal core
Also known as BIT-drupal-2022-25271, DRUPAL-CORE-2022-003, GHSA-fmfv-x8mp-5767
Mitigation
- Upgrade drupal/core to one of 9.2.13, 9.3.6, 7.88 (or later in the same release line).
Who should check
- Projects that depend on Packagist package drupal/core (>= 8.0.0, < 9.2.13; >= 9.3.0, < 9.3.6)
- Anyone running Drupal Core >= 9.3.x, < 9.3.6; >= 9.2.x, < 9.2.13; >= 7.x, < 7.88
Vulnerability facts
- Affected
- drupal/core >= 8.0.0, < 9.2.13; >= 9.3.0, < 9.3.6
- Fixed in
- 9.2.13, 9.3.6, 7.88
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 1.17% chance of exploitation in 30 days (percentile 67, 2026-11-26)
- CWE
- CWE-20
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist drupal/core | >= 8.0.0, < 9.2.13; >= 9.3.0, < 9.3.6 | 9.2.13, 9.3.6, 7.88 | osv |
| Drupal Core | >= 9.3.x, < 9.3.6; >= 9.2.x, < 9.2.13; >= 7.x, < 7.88 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-25271. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-25271.md Affected: drupal/core >= 8.0.0, < 9.2.13; >= 9.3.0, < 9.3.6 Fixed in: 9.2.13, 9.3.6, 7.88 Steps: 1. Search this machine and project for drupal/core (Packagist), Drupal Core: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4/
- https://nvd.nist.gov/vuln/detail/CVE-2022-25271
Other
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4
FAQ
Is CVE-2022-25271 being exploited?
There is no confirmed exploitation: CVE-2022-25271 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-25271?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2022-25271?
drupal/core >= 8.0.0, < 9.2.13; >= 9.3.0, < 9.3.6.
Is there a fix for CVE-2022-25271?
Yes. Fixed in 9.2.13, 9.3.6, 7.88. Upgrade drupal/core to one of 9.2.13, 9.3.6, 7.88 (or later in the same release line).
How do I check if I'm affected by CVE-2022-25271?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.