Live threats

All CVEs / Layui

CVE-2023-50550Layui

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.4%
probability of exploitation in 30 days · percentile 29
Auth required
Yes
Published
Dec 30, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

layui up to v2.74 was discovered to contain a cross-site scripting (XSS) vulnerability via the data-content parameter.

Original NVD text.

What to do

  1. Apply the vendor's security update for Layui.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm layui < 2.7.5 2.7.5 npm install layui@2.7.5

Per OSV / GitHub Advisories (GHSA-rcvr-8whx-3m5p). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
layuilayui< 2.7.5

Official sources

References

Links published by the sources. Open them with care.