CVE-2024-43788
DOM Clobbering Gadget found in Webpack's AutoPublicPathRuntimeModule that leads to Cross-site Scripting (XSS)
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.959% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.4 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
Assessment source · checked 2026-11-19T12:57:17.263Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:17.263Z | CVE Program |
| epss | verified | 2026-11-19T16:04:39.116Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:27.672Z | OSV |
| affected | verified | 2026-11-19T12:57:17.263Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:17.263Z | CVE Program |
Affected versions and configuration
webpack webpack; default status: unknown: >= 5.0.0-alpha.0, < 5.94.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "webpack",
"product": "webpack",
"versions": [
{
"status": "affected",
"version": ">= 5.0.0-alpha.0, < 5.94.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-43788",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-08-27T18:09:32.950161Z"
}
}
}
],
"affected": [
{
"cpes": [
"cpe:2.3:a:webpack:webpack:*:*:*:*:*:*:*:*"
],
"vendor": "webpack",
"product": "webpack",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "5.94.0",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-01-09T17:41:35.616Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-4vvj-4cpr-p986",
"aliases": [
"CVE-2024-43788"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "5.0.0-alpha.0"
},
{
"fixed": "5.94.0"
}
]
}
],
"package": {
"name": "webpack",
"purl": "pkg:npm/webpack",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-4vvj-4cpr-p986/GHSA-4vvj-4cpr-p986.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/webpack/webpack/security/advisories/GHSA-4vvj-4cpr-p986",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-43788",
"type": "ADVISORY"
},
{
"url": "https://github.com/webpack/webpack/issues/18718#issuecomment-2326296270",
"type": "WEB"
},
{
"url": "https://github.com/webpack/webpack/commit/955e057abc6cc83cbc3fa1e1ef67a49758bf5a61",
"type": "WEB"
},
{
"url": "https://github.com/webpack/webpack",
"type": "PACKAGE"
},
{
"url": "https://research.securitum.com/xss-in-amp4email-dom-clobbering",
"type": "WEB"
},
{
"url": "https://scnps.co/papers/sp23_domclob.pdf",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2024-08-27T17:15:07Z",
"github_reviewed_at": "2024-08-27T19:50:40Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | webpack | Not a distribution channel | 5.94.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:27.672ZArchived source JSON
Source publication: 2024-08-27T19:50:40.000Z
Source modification: 2026-09-10T03:50:18.076ZDocument fingerprint
eb3310f4aaaa69937eb010f4dd50af4fcd3870010ac02f190c9051a08efba3e6 - CVE ProgramConsulted: 2026-11-19T12:57:17.263ZArchived source JSON
Source publication: 2024-08-27T17:07:16.285Z
Source modification: 2025-01-09T17:41:35.616ZDocument fingerprint
f54af9e47861447ac3020b246c7f40e303ce1070430e92bcf21691386ba8d1f0 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:39.116ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
9f0dcd79a206c1e9df7af3ccc3246b94763cde2daafc074aaa6c06dadb41d7a7
Official status history
- UNKNOWN → PUBLISHED · · evidence