# CVE-2023-23630: Cross-site (XSS) vulnerability with Express API in Eta

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- 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.87%, higher than 57% of CVEs (2026-11-30)
- Published: 2023-01-31T22:39:40.000Z
- Modified: 2026-06-17T05:37:37.550Z
- Also known as: GHSA-xrh7-m5pp-39r6
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Eta is an embedded JS templating engine that works inside Node, Deno, and the browser. XSS attack - anyone using the Express API is impacted. The problem has been resolved. Users should upgrade to version 2.0.0. As a workaround, don't pass user supplied things directly to `res.render`.

(As written by CVE List.)

## Affected

- eta-dev eta: < 2.0.0
- eta (npm): before 2.0.0
- eta.js eta: before 2.0.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- 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://github.com/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6> (third-party-advisory, web)
- <https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd> (patch, third-party-advisory, web)
- <https://github.com/eta-dev/eta/releases/tag/v2.0.0> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-23630> (advisory)
- <https://github.com/eta-dev/eta> (package)

## Sources

- CVE List: [CVE-2023-23630](https://www.cve.org/CVERecord?id=CVE-2023-23630), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-xrh7-m5pp-39r6](https://github.com/advisories/GHSA-xrh7-m5pp-39r6), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-23630](https://nvd.nist.gov/vuln/detail/CVE-2023-23630), Public domain, modified 2026-06-17

---

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