CVE-2024-47075
LayUI DOM Clobbering Cross-site Scripting (XSS) Vulnerability
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.
INFO
Published Date :
Sept. 26, 2024, 6:15 p.m.
Last Modified :
Aug. 15, 2025, 2:11 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] |
Public PoC/Exploit Available at Github
CVE-2024-47075 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-47075
.
URL | Resource |
---|---|
https://github.com/layui/layui/commit/f756b41d63bf3d488a2cb042918638c9851bf2b0 | Patch |
https://github.com/layui/layui/security/advisories/GHSA-j827-6rgf-9629 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-47075
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-47075
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A collection of client-side libraries with HTML injection vulnerabilities and DOM clobbering gadgets.
Python JavaScript HTML CSS Shell Classic ASP Java C# ASP.NET PHP
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-47075
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-47075
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 15, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:layui:layui:*:*:*:*:*:*:*:* versions up to (excluding) 2.9.17 Added Reference Type GitHub, Inc.: https://github.com/layui/layui/security/advisories/GHSA-j827-6rgf-9629 Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/layui/layui/commit/f756b41d63bf3d488a2cb042918638c9851bf2b0 Types: Patch -
CVE Received by [email protected]
Sep. 26, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/layui/layui/security/advisories/GHSA-j827-6rgf-9629 [No types assigned] Added Reference GitHub, Inc. https://github.com/layui/layui/commit/f756b41d63bf3d488a2cb042918638c9851bf2b0 [No types assigned] Added CWE GitHub, Inc. CWE-79 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H