Advisories / composer / drupal/core / CVE-2025-31674
Drupal Core Improperly Controlled Modification of Dynamically-Determined Object Attributes Vulnerability (CVE-2025-31674)
CVE-2025-31674 GHSA-2qph-q8xw-gv7q Published 1 Apr 2025
Fixed in drupal/core 10.3.13 and 10.4.3 and 11.0.12 and 11.1.3.
$ composer require drupal/core:^10.3.13 $ composer require drupal/core:^10.4.3 $ composer require drupal/core:^11.0.12 $ composer require drupal/core:^11.1.3
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 | ≥ 8.0.0, < 10.3.13≥ 10.4.0, < 10.4.3≥ 11.0.0, < 11.0.12≥ 11.1.0, < 11.1.3 | 10.3.1310.4.311.0.1211.1.3 |
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
- Advisory published, with a fix
Questions
Which version of drupal/core is safe from CVE-2025-31674?
11.1.3 and later. Versions affected: ≥ 8.0.0, < 10.3.13, ≥ 10.4.0, < 10.4.3, ≥ 11.0.0, < 11.0.12, ≥ 11.1.0, < 11.1.3.