Cross-site Scripting (XSS) Affecting drupal-11.3 package, versions <11.3.13-r3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.08% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-DRUPAL113-17800191
  • published2 Jul 2026
  • disclosed10 Feb 2025

Introduced: 10 Feb 2025

CVE-2024-11831  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Chainguard drupal-11.3 to version 11.3.13-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream drupal-11.3 package and not the drupal-11.3 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

A flaw was found in npm-serialize-javascript. The vulnerability occurs because the serialize-javascript module does not properly sanitize certain inputs, such as regex or other JavaScript object types, allowing an attacker to inject malicious code. This code could be executed when deserialized by a web browser, causing Cross-site scripting (XSS) attacks. This issue is critical in environments where serialized data is sent to web clients, potentially compromising the security of the website or web application using this package.

CVSS Base Scores

version 3.1