CVE-2023-23630
JSON

8.6high

Cross-site (XSS) vulnerability with Express API in Eta

Severity
8.6high CVSS:3.1 by GitHub_M
Exploit likelihood
0.87% (higher than 57% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-xrh7-m5pp-39r6

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

Product or packageVersionsReported by
eta-dev eta< 2.0.0CVE List
eta (npm)before 2.0.0GitHub Advisory Database
eta.js etabefore 2.0.0NVD

All scores

GitHub_M8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
GitHub8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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`.

GitHub Advisory Database
Impact

XSS attack - anyone using the Express API is impacted

Patches

The problem has been resolved. Users should upgrade to version 2.0.0.

Workarounds

Don't pass user supplied data directly to res.renderFile.

References

Are there any links users can visit to find out more? See https://github.com/eta-dev/eta/releases/tag/v2.0.0

References

Sources

SourceRecordLicence
CVE ListCVE-2023-23630 changed 2025-03-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-xrh7-m5pp-39r6 changed 2023-11-08CC-BY-4.0
NVDCVE-2023-23630 changed 2026-06-17Public domain