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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| layui | < 2.9.17; = < 2.9.17 | 2.9.17 | Fixed |
| npm layui(npm) | < 2.9.17 | 2.9.17 | Fixed |
Affected products
| Product | Affected versions | Fixed 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
- https://github.com/layui/layui/security/advisories/GHSA-j827-6rgf-9629 vendor-advisory
- https://github.com/layui/layui/commit/f756b41d63bf3d488a2cb042918638c9851bf2b0 patch
- layui.dev
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product