Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. drupal/core
  4. ›
  5. CVE-2022-25271

CVE-2022-25271: Improper Input Validation

February 16, 2022 (updated November 7, 2022)

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.

References

  • nvd.nist.gov/vuln/detail/CVE-2022-25271
  • www.drupal.org/sa-core-2022-003

Code Behaviors & Features

Detect and mitigate CVE-2022-25271 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.0.0 before 7.88, all versions starting from 9.2.0 before 9.2.13, all versions starting from 9.3.0 before 9.3.6

Fixed versions

  • 8.0.0
  • 9.2.13
  • 9.3.6

Solution

Upgrade to versions 8.0.0, 9.2.13, 9.3.6 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

packagist/drupal/core/CVE-2022-25271.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.