Intel

AIKIDO-2024-10289

webpack is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS)CVE-2024-43788 Published Sep 23, 2024

64

Medium Risk

This Affects:

jswebpack
5.0.0 - 5.93.0
Fixed in 5.94.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Cross-site Scripting (XSS). The resulting compiled website may contain XSS vulnerabilities because of DOM Clobbering. This can lead to XSS in web pages where scriptless attacker-controlled HTML elements (e.g., an img tag with an unsanitized name attribute) are present.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

webpack is vulnerable to Cross-site Scripting (XSS) in versions 5.0.0 - 5.93.0.

How to fix this

Upgrade the webpack library to the patch version.