MediumGHSA-39g6-x4x8-5jcmBIT-drupal-2025-3057CVE-2025-3057DRUPAL-CORE-2025-001

Drupal Core Potential Cross-Site Scripting (XSS) via Error Messages

Published 1 Apr 2025 · Updated 10 Dec 2025

Is your project on an affected drupal/core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

drupal/coreComposer
Affected
>=8.0.0 <10.3.13
Fixed in
10.3.13
Update to the fixed version for your release line, for example:composer require drupal/core:^10.3.13
drupal/coreComposer
Affected
>=10.4.0 <10.4.3
Fixed in
10.4.3
Update to the fixed version for your release line, for example:composer require drupal/core:^10.4.3
drupal/coreComposer
Affected
>=11.0.0 <11.0.12
Fixed in
11.0.12
Update to the fixed version for your release line, for example:composer require drupal/core:^11.0.12
drupal/coreComposer
Affected
>=11.1.0 <11.1.3
Fixed in
11.1.3
Update to the fixed version for your release line, for example:composer require drupal/core:^11.1.3

Details

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.13, from 10.4.0 before 10.4.3, from 11.0.0 before 11.0.12, from 11.1.0 before 11.1.3.

Is GHSA-39g6-x4x8-5jcm in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.

More advisories for drupal/core

All 200 advisories for drupal/core

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.