5.4medium
Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- GHSA-m4wj-hhwj-47qpBIT-DRUPAL-2025-31675DRUPAL-CORE-2025-004
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
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal 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 | CVE List |
| Drupal Link | from 7.x-1.0 up to 7.x-1.12 | CVE List |
| drupal/core (Packagist) | 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 | GitHub Advisory Database, Drupal Security Team |
| drupal drupal | 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 | NVD |
| drupal (Bitnami) | from 8.0.0 before 10.4.5, from 11.0.0 before 11.1.5 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 5.4low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | low 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 |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
Drupal Security Team
Drupal core Link field attributes are not sufficiently sanitized, which can lead to a Cross Site Scripting vulnerability (XSS).
This vulnerability is mitigated by that fact that an attacker would need to have the ability to add specific attributes to a Link field, which typically requires edit access via core web services, or a contrib or custom module.
Sites with the Link module disabled or that do not use any link fields are not affected.
NVD (es)
Vulnerabilidad de neutralización incorrecta de entrada durante la generación de páginas web ('Cross-site Scripting') en Drupal Drupal core permite Cross-Site Scripting (XSS). Este problema afecta al núcleo de Drupal: desde la versión 8.0.0 hasta la 10.3.14, desde la versión 10.4.0 hasta la 10.4.5, desde la versión 11.0.0 hasta la 11.0.13, desde la versión 11.1.0 hasta la 11.1.5.
References
| https://www.drupal.org/sa-core-2025-004 | advisory, vendor-advisory, web | |
| https://www.herodevs.com/vulnerability-directory/cve-2025-31675 | third-party-advisory, web | |
| https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-31675 | advisory, web | |
| https://github.com/drupal/core | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-31675 changed 2026-04-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m4wj-hhwj-47qp changed 2026-04-06 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CORE-2025-004 changed 2026-09-19 | MIT |
| NVD | CVE-2025-31675 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DRUPAL-2025-31675 changed 2026-09-08 | Apache-2.0 |