Vulnerability · Published Feb 1, 2023 · Assigned by GitHub_M
CVE-2023-23630Cross-site (XSS) vulnerability with Express API in Eta
High 8.6
In plain English
A high-severity cross-site scripting in eta from eta-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.6%top 50.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | eta | 2.0.0 | GHSA-xrh7-m5pp-39r6 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References
- https://github.com/eta-dev/eta/security/advisories/GHSA-xrh7-m5pp-39r6 x_refsource_CONFIRM
- https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd x_refsource_MISC
- https://github.com/eta-dev/eta/releases/tag/v2.0.0 x_refsource_MISC