HighGHSA-fmfv-x8mp-5767BIT-drupal-2022-25271CVE-2022-25271DRUPAL-CORE-2022-003

Improper input validation in Drupal core

Published 18 Feb 2022 · Updated 10 Dec 2025

Affected packages

drupal/coreComposer
Affected
>=9.3.0 <9.3.6
Fixed in
9.3.6
Update to the fixed version for your release line, for example:composer require drupal/core:^9.3.6
drupal/coreComposer
Affected
>=8.0.0 <9.2.13
Fixed in
9.2.13
Update to the fixed version for your release line, for example:composer require drupal/core:^9.2.13
drupal/coreComposer
Affected
>=7.0.0 <7.88
Fixed in
7.88
Update to the fixed version for your release line, for example:composer require drupal/core:^7.88

Details

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.

Is GHSA-fmfv-x8mp-5767 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.