Live threats

All CVEs / Drupal

CVE-2025-31675Drupal

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
—
Auth required
Yes
Published
Mar 31, 2025
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Drupal.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist drupal/core ≥ 8.0.0 < 10.3.14 10.3.14 composer require "drupal/core:^10.3.14"
Packagist drupal/core ≥ 10.4.0 < 10.4.5 10.4.5 composer require "drupal/core:^10.4.5"
Packagist drupal/core ≥ 11.0.0 < 11.0.13 11.0.13 composer require "drupal/core:^11.0.13"
Packagist drupal/core ≥ 11.1.0 < 11.1.5 11.1.5 composer require "drupal/core:^11.1.5"
Packagist drupal/core ≥ 8.0.0 < 10.3.14 10.3.14 composer require "drupal/core:^10.3.14"
Packagist drupal/core ≥ 10.4.0 < 10.4.5 10.4.5 composer require "drupal/core:^10.4.5"
Packagist drupal/core ≥ 11.0.0 < 11.0.13 11.0.13 composer require "drupal/core:^11.0.13"
Packagist drupal/core ≥ 11.1.0 < 11.1.5 11.1.5 composer require "drupal/core:^11.1.5"

Per OSV / GitHub Advisories (DRUPAL-CORE-2025-004, GHSA-m4wj-hhwj-47qp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
drupaldrupal≥ 8.0.0 < 10.3.14
drupaldrupal≥ 10.4.0 < 10.4.5
drupaldrupal≥ 11.0.0 < 11.0.13
drupaldrupal≥ 11.1.0 < 11.1.5

Official sources

References

Links published by the sources. Open them with care.