Skip to content
OpenAdvisories
Medium · 6.4 CVE-2024-47075 EUVD-2024-2817GHSA-j827-6rgf-9629

DOM Clobbering gadgets found in layui that lead to Cross-site Scripting

Published Sep 26, 2024 · Updated Sep 26, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
layui layui < 2.9.17 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm layui < 2.9.17 2.9.17 GHSA-j827-6rgf-9629

References