CVE-2022-25271Drupal
High 7.5 No auth needed
Follow: this CVE · Drupal · Drupal We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Feb 16, 2022
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Drupal.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 9.2.13 |
9.2.13 |
composer require "drupal/core:^9.2.13" |
| Packagist | drupal/core |
≥ 9.3.0 < 9.3.6 |
9.3.6 |
composer require "drupal/core:^9.3.6" |
| Packagist | drupal/core |
≥ 9.3.0 < 9.3.6 |
9.3.6 |
composer require "drupal/core:^9.3.6" |
| Packagist | drupal/core |
≥ 8.0.0 < 9.2.13 |
9.2.13 |
composer require "drupal/core:^9.2.13" |
| Packagist | drupal/core |
≥ 7.0.0 < 7.88 |
7.88 |
composer require "drupal/core:^7.88" |
Per OSV / GitHub Advisories (DRUPAL-CORE-2022-003, GHSA-fmfv-x8mp-5767). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| drupal | drupal | ≥ 7.0.0 < 7.88 |
| drupal | drupal | ≥ 9.2.0 < 9.2.13 |
| drupal | drupal | ≥ 9.3.0 < 9.3.6 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- www.drupal.org Patch Vendor Advisory