Skip to content
porro

Advisories  /  composer  /  drupal/core  /  CVE-2022-25271

HIGH7.5 Composer

Improper input validation in Drupal core (CVE-2022-25271)

CVE-2022-25271 GHSA-fmfv-x8mp-5767 Published 18 Feb 2022

Fixed in drupal/core 7.88 and 9.2.13 and 9.3.6.

$ composer require drupal/core:^7.88
$ composer require drupal/core:^9.2.13
$ composer require drupal/core:^9.3.6

Run the one for the major version you’re on: each fix stays within its release line.

Which versions are affected

Package Affected Fixed in
drupal/core ≥ 7.0.0, < 7.88≥ 8.0.0, < 9.2.13≥ 9.3.0, < 9.3.6 7.889.2.139.3.6

Check a site from its project folder: composer show drupal/core shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of drupal/core is safe from CVE-2022-25271?

9.3.6 and later. Versions affected: ≥ 7.0.0, < 7.88, ≥ 8.0.0, < 9.2.13, ≥ 9.3.0, < 9.3.6.