CVE-2024-47075: Layui has DOM Clobbering gadgets that leads to Cross-site Scripting
A DOM Clobbering vulnerability has been discovered in layui
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.
It’s worth noting that we’ve identifed similar issues in other popular client-side libraries like Webpack (CVE-2024-43788) and Vite (CVE-2024-45812), which might serve as valuable references.
References
Detect and mitigate CVE-2024-47075 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →