# CVE-2025-31675: Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2025-03-19T18:54:35.000Z
- Modified: 2026-09-19T14:49:06.000Z
- Also known as: GHSA-m4wj-hhwj-47qp, BIT-DRUPAL-2025-31675, DRUPAL-CORE-2025-004
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: drupal

## 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.

(As written by CVE List.)

## Affected

- 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
- Drupal Link: from 7.x-1.0 up to 7.x-1.12
- 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
- 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
- drupal (Bitnami): from 8.0.0 before 10.4.5; from 11.0.0 before 11.1.5

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `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: rating Medium

## 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

- CVE List: [CVE-2025-31675](https://www.cve.org/CVERecord?id=CVE-2025-31675), CVE Terms of Use, modified 2026-04-02
- GitHub Advisory Database: [GHSA-m4wj-hhwj-47qp](https://github.com/advisories/GHSA-m4wj-hhwj-47qp), CC-BY-4.0, modified 2026-04-06
- Drupal Security Team: [DRUPAL-CORE-2025-004](https://osv.dev/vulnerability/DRUPAL-CORE-2025-004), MIT, modified 2026-09-19
- NVD: [CVE-2025-31675](https://nvd.nist.gov/vuln/detail/CVE-2025-31675), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DRUPAL-2025-31675](https://osv.dev/vulnerability/BIT-DRUPAL-2025-31675), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-31675 · Whole record: https://cve.day/CVE-2025-31675.json · Rebuilt by cve.day 2026-11-25T22:58:55.750Z
