# CVE-2023-3691: layui HTML Attribute cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-16T16:31:02.909Z
- Modified: 2026-06-17T06:14:38.623Z
- Also known as: GHSA-hx4h-676r-j3qp
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- layui: v2.8.0-rc.0; v2.8.0-rc.1; v2.8.0-rc.2; v2.8.0-rc.3; v2.8.0-rc.4; v2.8.0-rc.5; v2.8.0-rc.6; v2.8.0-rc.7; v2.8.0-rc.8; v2.8.0-rc.9; v2.8.0-rc.10; v2.8.0-rc.11; and 5 more
- layui (npm): before 2.8.0
- layui layui: before 2.8.0; 2.8.0

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://gitee.com/layui/layui/issues/I7HDXZ> (exploit, issue-tracking, third-party-advisory, web)
- <https://vuldb.com/?id.234237> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.234237> (permissions-required, signature, third-party-advisory, web)
- <https://gitee.com/layui/layui/tree/v2.8.0> (patch, product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-3691> (advisory)
- <https://github.com/layui/layui> (package)

## Sources

- CVE List: [CVE-2023-3691](https://www.cve.org/CVERecord?id=CVE-2023-3691), CVE Terms of Use, modified 2024-10-23
- GitHub Advisory Database: [GHSA-hx4h-676r-j3qp](https://github.com/advisories/GHSA-hx4h-676r-j3qp), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-3691](https://nvd.nist.gov/vuln/detail/CVE-2023-3691), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-3691 · Whole record: https://cve.day/CVE-2023-3691.json · Rebuilt by cve.day 2026-11-25T22:58:25.824Z
