CVE-2023-23630 json
Cross-site (XSS) vulnerability with Express API in Eta
published 3y ago modified 4mo ago also EUVD-2023-0593 , GHSA-xrh7-m5pp-39r6
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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`.
Patch / fix
- npm eta 2.0.0
- eta.js eta 2.0.0
Is CVE-2023-23630 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | eta | <2.0.0 |
2.0.0 |
Affected products
- eta-dev eta
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd
web, patch, third-party-advisory
-
github.com
/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6
web, third-party-advisory
-
github.com
/eta-dev/eta/releases/tag/v2.0.0
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-23630
advisory
-
github.com
/eta-dev/eta
package
-
github.com
/bgub/eta/security/advisories/GHSA-xrh7-m5pp-39r6
advisory
Sources
- CVE List CVE-2023-23630
- GitHub Advisory GHSA-xrh7-m5pp-39r6
- NVD CVE-2023-23630
- Maintainer advisory GHSA-xrh7-m5pp-39r6
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of bgub/eta published their own advisory on GitHub. Reviewed sources take precedence over it.