CVE-2022-25273 Improper input validation in Drupal core

High 7.5 Published Updated

Drupal core form API flaw allows attackers to inject disallowed values or overwrite sensitive data in specific contributed or custom module forms.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-25273?

CVE-2022-25273 is a high-severity vulnerability in Drupal Drupal, published on 26 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2022-25273?

6 open source packages ship an affected version, including drupal/core and drupal. It affects 1 product.

PackageAffectedFixed in
drupal/core PackagistFrom 8.0.09.2.18, 9.3.12
drupal/core PackagistFrom 8.0.09.2.18
drupal/core PackagistFrom 8.0.09.2.18
drupal/core PackagistFrom 9.3.09.3.12
drupal/core PackagistFrom 9.3.09.3.12
drupal BitnamiFrom 8.0.09.2.18, 9.3.12

Products include Drupal Drupal.

How do I fix CVE-2022-25273?

Upgrade drupal/core to a fixed version for your release line: 9.2.18 or 9.3.12.

Is CVE-2022-25273 being exploited?

There is no known exploitation of CVE-2022-25273 in the wild and no public exploit code.

All Drupal Drupal vulnerabilities

Sources

Also known as BIT-drupal-2022-25273, DRUPAL-CORE-2022-008, GHSA-g36h-4jr6-qmm9, UBUNTU-CVE-2022-25273.

Is CVE-2022-25273 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free