Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. drupal/core
  4. ›
  5. CVE-2025-31675

CVE-2025-31675: Drupal Core Cross-Site Scripting (XSS) Vulnerability

April 1, 2025 (updated April 29, 2025)

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.

References

  • github.com/advisories/GHSA-m4wj-hhwj-47qp
  • github.com/drupal/core
  • nvd.nist.gov/vuln/detail/CVE-2025-31675
  • www.drupal.org/sa-core-2025-004

Code Behaviors & Features

Detect and mitigate CVE-2025-31675 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.0.0 before 10.3.14, all versions starting from 10.4.0 before 10.4.5, all versions starting from 11.0.0 before 11.0.13, all versions starting from 11.1.0 before 11.1.5

Fixed versions

  • 10.3.14
  • 10.4.5
  • 11.0.13
  • 11.1.5

Solution

Upgrade to versions 10.3.14, 10.4.5, 11.0.13, 11.1.5 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/drupal/core/CVE-2025-31675.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.