CVE-2023-50550Layui
Medium 5.4
Follow: this CVE · Layui · Layui We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Layui.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| layui | layui | < 2.7.5 |
Official sources
References
Links published by the sources. Open them with care.
- gitee.com Issue Tracking Vendor Advisory