Skip to content

CVE-2024-47075 DOM Clobbering gadgets found in layui that lead to Cross-site Scripting

MediumCVSS 6.1 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
layui < 2.9.17; = < 2.9.17 2.9.17 Fixed
npm layui(npm) < 2.9.17 2.9.17 Fixed

Affected products

ProductAffected versionsFixed in
npm layui(npm) < 2.9.17 2.9.17
layui = < 2.9.17 No fix listed
layui < 2.9.17 2.9.17

References