Security mailing lists by PureSourceCode

CVE-2024-47075

MEDIUM 6.1CVSS 3.1

Layui has DOM Clobbering gadgets that leads to Cross-site Scripting

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.

Published
26 Sep 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-j827-6rgf-9629
Sources
NVDJSONOSV GHSA-j827-6rgf-9629JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD layui layui
cpe:2.3:a:layui:layui:*:*:*:*:*:*:*:*
< 2.9.17 2.9.17
OSV npm layui < 2.9.17 2.9.17

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 26 Sep 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.