Vulnerability · Published Mar 31, 2025 · Assigned by drupal
CVE-2025-31675Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004
Medium 5.4
In plain English
A medium-severity cross-site scripting in Drupal core from Drupal. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Drupal core allows Cross-Site Scripting (XSS).This issue affects Drupal core: from 8.0.0 before 10.3.14, from 10.4.0 before 10.4.5, from 11.0.0 before 11.0.13, from 11.1.0 before 11.1.5. It also affects the Drupal 7 module from versions 7.x-1.0 through 7.x-1.12.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | drupal/core | 10.3.14, 10.4.5, 11.0.13, 11.1.5 | DRUPAL-CORE-2025-004 |
| Packagist | drupal/core | 10.3.14 | GHSA-m4wj-hhwj-47qp |
| Packagist | drupal/core | 10.4.5 | GHSA-m4wj-hhwj-47qp |
| Packagist | drupal/core | 11.0.13 | GHSA-m4wj-hhwj-47qp |
| Packagist | drupal/core | 11.1.5 | GHSA-m4wj-hhwj-47qp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Drupal | Drupal core | 8.0.0 – before 10.3.1410.4.0 – before 10.4.511.0.0 – before 11.0.1311.1.0 – before 11.1.5 |
| Drupal | Link | 7.x-1.0 – through 7.x-1.12 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://www.drupal.org/sa-core-2025-004 vendor-advisory
- https://www.herodevs.com/vulnerability-directory/cve-2025-31675 third-party-advisory
- https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004 third-party-advisory