Live threats

All CVEs / Eta.js

CVE-2023-23630Eta.js Eta

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 57
Auth required
No
Published
Feb 1, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Eta.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm eta < 2.0.0 2.0.0 npm install eta@2.0.0

Per OSV / GitHub Advisories (GHSA-xrh7-m5pp-39r6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
eta.jseta< 2.0.0

Official sources

References

Links published by the sources. Open them with care.