Vulnerability · Published Sep 26, 2024 · Assigned by GitHub_M

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

Medium 6.4

In plain English

A medium-severity cross-site scripting in layui from layui. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.4Medium
Exploit odds (30 days)0.3%top 72.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmlayui2.9.17GHSA-j827-6rgf-9629

Affected products (as reported)

VendorProductVersions
layui layui < 2.9.17

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H

References