Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2024-43788
Modified
More InfoOfficial Page
Source-security-advisories@github.com
View Known Exploited Vulnerability (KEV) details
Published At-27 Aug, 2024 | 17:15
Updated At-03 Sep, 2024 | 15:15

Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset. The webpack developers have discovered a DOM Clobbering vulnerability in Webpack’s `AutoPublicPathRuntimeModule`. The DOM Clobbering gadget in the module can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an `img` tag with an unsanitized `name` attribute) are present. Real-world exploitation of this gadget has been observed in the Canvas LMS which allows a XSS attack to happen through a javascript code compiled by Webpack (the vulnerable part is from Webpack). DOM Clobbering is a type of code-reuse attack where the attacker first embeds a piece of non-script, seemingly benign HTML markups in the webpage (e.g. through a post or comment) and leverages the gadgets (pieces of js code) living in the existing javascript code to transform it into executable code. This vulnerability can lead to cross-site scripting (XSS) on websites that include Webpack-generated files and allow users to inject certain scriptless HTML tags with improperly sanitized name or id attributes. This issue has been addressed in release version 5.94.0. All users are advised to upgrade. There are no known workarounds for this issue.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.16.4MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
Primary3.16.1MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Type: Secondary
Version: 3.1
Base score: 6.4
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
Type: Primary
Version: 3.1
Base score: 6.1
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CPE Matches

Webpack (OpenJS Foundation)
webpack.js
>>webpack>>Versions before 5.94.0(exclusive)
cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:*
Weaknesses
CWE IDTypeSource
CWE-79Secondarysecurity-advisories@github.com
CWE-79Primarynvd@nist.gov
CWE ID: CWE-79
Type: Secondary
Source: security-advisories@github.com
CWE ID: CWE-79
Type: Primary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/webpack/webpack/commit/955e057abc6cc83cbc3fa1e1ef67a49758bf5a61security-advisories@github.com
Patch
https://github.com/webpack/webpack/issues/18718#issuecomment-2326296270security-advisories@github.com
N/A
https://github.com/webpack/webpack/security/advisories/GHSA-4vvj-4cpr-p986security-advisories@github.com
Exploit
Vendor Advisory
https://research.securitum.com/xss-in-amp4email-dom-clobberingsecurity-advisories@github.com
Exploit
Third Party Advisory
https://scnps.co/papers/sp23_domclob.pdfsecurity-advisories@github.com
Exploit
Mitigation
Technical Description
Third Party Advisory
Hyperlink: https://github.com/webpack/webpack/commit/955e057abc6cc83cbc3fa1e1ef67a49758bf5a61
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/webpack/webpack/issues/18718#issuecomment-2326296270
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://github.com/webpack/webpack/security/advisories/GHSA-4vvj-4cpr-p986
Source: security-advisories@github.com
Resource:
Exploit
Vendor Advisory
Hyperlink: https://research.securitum.com/xss-in-amp4email-dom-clobbering
Source: security-advisories@github.com
Resource:
Exploit
Third Party Advisory
Hyperlink: https://scnps.co/papers/sp23_domclob.pdf
Source: security-advisories@github.com
Resource:
Exploit
Mitigation
Technical Description
Third Party Advisory
Change History
0Changes found

Details not found