CVE-2023-3691Layui
Medium 6.1 No auth needed
Follow: this CVE · Layui · Layui We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 49
- Auth required
- No
- Published
- Jul 16, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
A vulnerability, which was classified as problematic, was found in layui up to v2.8.0-rc.16. This affects an unknown part of the component HTML Attribute Handler. The manipulation of the argument title leads to cross site scripting. It is possible to initiate the attack remotely. Upgrading to version 2.8.0 is able to address this issue. It is recommended to upgrade the affected component. The identifier VDB-234237 was assigned to this vulnerability.
What to do
- Apply the vendor's security update for Layui.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | layui |
< 2.8.0 |
2.8.0 |
npm install layui@2.8.0 |
Per OSV / GitHub Advisories (GHSA-hx4h-676r-j3qp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| layui | layui | < 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
| layui | layui | 2.8.0 |
Official sources
References
Links published by the sources. Open them with care.