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

CVE-2025-31675 · Severity: low · CVSS 3.1 · Published 2025-04-01

Drupal Core Cross-Site Scripting (XSS) Vulnerability

Technologies: drupal/core (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2025-31675 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-31675 being exploited in the wild.
How severe is CVE-2025-31675?
Low severity, with a CVSS score of 3.1, published 1 April 2025.
Which products and versions are affected?
drupal/core (Packagist) ECOSYSTEM:introduced=8.0.0,fixed=10.3.14, ECOSYSTEM:introduced=8.0.0,fixed=10.3.14|ECOSYSTEM:introduced=10.4.0,fixed=10.4.5|ECOSYSTEM:introduced=11.0.0,fixed=11.0.13|ECOSYSTEM:introduced=11.1.0,fixed=11.1.5.
Is there a fix for CVE-2025-31675?
Yes. drupal/core (Packagist): upgrade to 10.3.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-31675?
Check whether you run drupal/core (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • drupal/core (Packagist): upgrade to 10.3.14 or later
    composer require drupal/core:^10.3.14

Affected products

  • drupal/core (Packagist) ECOSYSTEM:introduced=8.0.0,fixed=10.3.14, ECOSYSTEM:introduced=8.0.0,fixed=10.3.14|ECOSYSTEM:introduced=10.4.0,fixed=10.4.5|ECOSYSTEM:introduced=11.0.0,fixed=11.0.13|ECOSYSTEM:introduced=11.1.0,fixed=11.1.5

Identifiers

  • CVE-2025-31675
  • DRUPAL-CORE-2025-004
  • GHSA-m4wj-hhwj-47qp

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.