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.
References
| Link | Resource |
|---|---|
| https://github.com/layui/layui/commit/f756b41d63bf3d488a2cb042918638c9851bf2b0 | Patch |
| https://github.com/layui/layui/security/advisories/GHSA-j827-6rgf-9629 | Vendor Advisory |
Configurations
History
15 Aug 2025, 14:11
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:layui:layui:*:*:*:*:*:*:*:* | |
| First Time |
Layui
Layui layui |
|
| References | () https://github.com/layui/layui/commit/f756b41d63bf3d488a2cb042918638c9851bf2b0 - Patch | |
| References | () https://github.com/layui/layui/security/advisories/GHSA-j827-6rgf-9629 - Vendor Advisory |
30 Sep 2024, 12:46
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
26 Sep 2024, 18:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2024-09-26 18:15
Updated : 2025-08-15 14:11
NVD link : CVE-2024-47075
Mitre link : CVE-2024-47075
CVE.ORG link : CVE-2024-47075
JSON object : View
Products Affected
layui
- layui
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
