CVE-2024-47075
Layui vulnerability
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
Layui. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Layui runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/layui/layui/security/advisories/GHSA-j827-6rgf-9629 · Vendor Advisory
- github.com/layui/layui/commit/f756b41d63bf3d488a2cb042918638c9851bf2b0 · Patch
- layui.dev/notes/share/security-currentscript.html
- nvd.nist.gov/vuln/detail/CVE-2024-47075
- github.com/advisories/GHSA-j827-6rgf-9629
- nvd.nist.gov/vuln/detail/CVE-2024-47075
- cve.org/CVERecord?id=CVE-2024-47075
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.