npmWorst: Moderate3 advisories

layui: known vulnerabilities

layui has 3 reviewed security advisories in the GitHub Advisory Database — 3 moderate. The most recent was published 2024-09-26. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the layui versions running across your servers, containers and images, and ranks what to patch first.

How to fix layui

Upgrade layui to a release at or above the fixed version shown for each advisory below. For npm:

npm install layui@2.9.17 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Layui has DOM Clobbering gadgets that leads to Cross-site Scripting Moderate 6.4 CWE-79 — Affected: before 2.9.17. Fixed in 2.9.17. Published 2024-09-26. GHSA-j827-6rgf-9629 · CVE-2024-47075
Layui cross-site scripting (XSS) vulnerability Moderate 5.4 CWE-79 — Affected: before 2.7.5. Fixed in 2.7.5. Published 2023-12-30. GHSA-rcvr-8whx-3m5p · CVE-2023-50550
layui vulnerable to cross-site scripting Moderate 6.1 CWE-79 — Affected: before 2.8.0. Fixed in 2.8.0. Published 2023-07-16. GHSA-hx4h-676r-j3qp · CVE-2023-3691

Find layui across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.