# CVE-2023-50550: Layui cross-site scripting (XSS) vulnerability

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/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.43%, higher than 29% of CVEs (2026-11-30)
- Published: 2023-12-30T00:00:00.000Z
- Modified: 2026-06-17T06:39:44.193Z
- Also known as: GHSA-rcvr-8whx-3m5p
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- layui (npm): before 2.7.5
- layui layui: before 2.7.5

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://gitee.com/layui/layui/issues?utf8=%E2%9C%93&state=all&issue_search=xss> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-50550> (advisory)
- <https://gitee.com/layui/layui/issues/I8M1C2> (web)
- <https://github.com/layui/layui> (package)

## Sources

- CVE List: [CVE-2023-50550](https://www.cve.org/CVERecord?id=CVE-2023-50550), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-rcvr-8whx-3m5p](https://github.com/advisories/GHSA-rcvr-8whx-3m5p), CC-BY-4.0, modified 2024-01-08
- NVD: [CVE-2023-50550](https://nvd.nist.gov/vuln/detail/CVE-2023-50550), Public domain, modified 2026-06-17

---

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