What’s Vulnerable › Vulnerabilities

CVE-2024-47075: DOM Clobbering gadgets found in layui that lead to Cross-site Scripting

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.

Affected products

How to fix

Upgrade to a fixed version: layui 2.9.17. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-47075 or the next vulnerability affects your stack