Description
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.
Recommendation
Update the layui package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.9.17
- Patched version(s): 2.9.17
References
Related Issues
- Webpack's AutoPublicPathRuntimeModule has a DOM Clobbering Gadget that leads to XSS - CVE-2024-43788
- Slim Select has potential Cross-site Scripting issue - CVE-2024-9440
- Vite DOM Clobbering gadget found in vite bundled scripts that leads to XSS - CVE-2024-45812
- DOM Clobbering Gadget found in rollup bundled scripts that leads to XSS - CVE-2024-47068
- Tags:
- npm
- layui
Anything's wrong? Let us know Last updated on September 26, 2024