CVE-2025-31675
MEDIUM 5.4CVSS 3.1Drupal Core Cross-Site Scripting (XSS) Vulnerability
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.
- Published
- 31 Mar 2025
- Last modified
- 19 Sep 2026
- Assigned by
- mlhess@drupal.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-drupal-2025-31675DRUPAL-CORE-2025-004GHSA-m4wj-hhwj-47qp
- Sources
- NVDJSONOSV DRUPAL-CORE-2025-004JSONOSV GHSA-m4wj-hhwj-47qpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.0.0, < 10.3.14 | 10.3.14 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 10.4.0, < 10.4.5 | 10.4.5 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 11.0.0, < 11.0.13 | 11.0.13 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 11.1.0, < 11.1.5 | 11.1.5 |
| OSV | Packagist | drupal/core | >= 8.0.0, < 10.3.14; >= 10.4.0, < 10.4.5; >= 11.0.0, < 11.0.13; >= 11.1.0, < 11.1.5 | 10.3.14, 10.4.5, 11.0.13, 11.1.5 |
| OSV | Packagist | drupal/core | >= 8.0.0, < 10.3.14 | 10.3.14 |
| OSV | Packagist | drupal/core | >= 10.4.0, < 10.4.5 | 10.4.5 |
| OSV | Packagist | drupal/core | >= 11.0.0, < 11.0.13 | 11.0.13 |
| OSV | Packagist | drupal/core | >= 11.1.0, < 11.1.5 | 11.1.5 |
References
- https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004 · WEB
- https://www.drupal.org/sa-core-2025-004 · Vendor Advisory, WEB
- https://www.herodevs.com/vulnerability-directory/cve-2025-31675 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-31675 · ADVISORY
- https://github.com/drupal/core · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 31 Mar 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Apr 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Mar 2025)