{"id":"CVE-2024-47075","published":"2024-09-26T17:08:19Z","modified":"2024-09-26T18:06:22Z","title":"DOM Clobbering gadgets found in layui that lead to Cross-site Scripting","vendor":"layui","product":"layui","tier":"tail","description":{"text":"LayUI is a native minimalist modular Web UI component library. Versions prior to 2.9.17 have a DOM Clobbering vulnerability that can lead to Cross-site Scripting (XSS) on web pages where attacker-controlled HTML elements (e.g., `img` tags with unsanitized `name` attributes) are present. Version 2.9.17 fixes this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00339,"percentile":0.28025,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/layui/layui/security/advisories/GHSA-j827-6rgf-9629","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/layui/layui/commit/f756b41d63bf3d488a2cb042918638c9851bf2b0","tags":["x_refsource_MISC"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":5.61},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"layui","affectedVersions":[{"vendor":"layui","product":"layui","versions":["< 2.9.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-26T17:57:38.383879Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"layui","vulnerableRanges":["<2.9.17"],"patched":["2.9.17"],"from":["GHSA-j827-6rgf-9629"],"provenance":"source"}],"summary":{"text":"A DOM Clobbering vulnerability in the layui web UI component library, affecting versions prior to 2.9.17, allows attacker-controlled HTML elements such as img tags with unsanitized name attributes to overwrite DOM properties. An attacker can use this to achieve Cross-site Scripting on pages where such attacker-controlled HTML is present, which requires a page that renders that markup and a remote attacker who can supply the elements, with the attack complexity being high and low privileges required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:35Z"},"euvd":{"id":"EUVD-2024-2817","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-50550","published":"2023-12-30","fixed":"2.7.5","kev":false},{"cve":"CVE-2023-3691","published":"2023-07-16","fixed":"2.8.0","kev":false,"link":{"from":"CVE-2023-3691","to":"CVE-2024-47075","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:layui","fromFixed":"2.8.0","toFixed":"2.9.17","daysApart":438}]}},{"cve":"CVE-2024-47075","published":"2024-09-26","fixed":"2.9.17","kev":false}],"package":"npm:layui"}}