CVE-2025-31675
Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004
MEDIUM 5.4
At a glance
- Source
- NVD
- EPSS
- EPSS 0.50 % · percentile 43 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- drupal
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-79 — Improper Neutralization of Input During Web Page Generation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | CISA-ADP |
| 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 | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Advisories
- DRUPAL-CORE-2025-004 — Drupal core Link field attributes are not sufficiently sanitized, which can lead to a Cross Site Scripting vulnerability (XSS).
- GHSA-m4wj-hhwj-47qp — Drupal Core Cross-Site Scripting (XSS) Vulnerability
European references
- ENISA EUVD · EUVD-2025-9044
- GCVE · GCVE-0-2025-31675
Affected configurations (NVD CPE)
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 8.0.0 < 10.3.14cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 10.4.0 < 10.4.5cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 11.0.0 < 11.0.13cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*≥ 11.1.0 < 11.1.5
Affected products
| Product | Versions |
|---|---|
| Drupal · Drupal core | affected 8.0.0 < 10.3.14 ; affected 10.4.0 < 10.4.5 ; affected 11.0.0 < 11.0.13 ; affected 11.1.0 < 11.1.5 |
| Drupal · Link | affected 7.x-1.0 ≤ 7.x-1.12 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |