XSS in Layui
CVE-2024-47075
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (24.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H.
Affected products
- Layui — versions < 2.9.17
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-47075?
- CVE-2024-47075 is a medium-severity vulnerability in Layui, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2024-09-26.
- How severe is CVE-2024-47075?
- Medium severity. CVSS v3 base score is 6.4 out of 10.
- Is CVE-2024-47075 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.