{"cve":"CVE-2022-25967","nvd":{"published":"2023-01-30T05:15:10.177","modified":"2026-06-17T04:34:32.130","status":"Modified","description":"Versions of the package eta before 2.0.0 are vulnerable to Remote Code Execution (RCE) by overwriting template engine configuration variables with view options received from The Express render API.\r\r**Note:** This is exploitable only for users who are rendering templates with user-defined data.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94"],"references":["https://github.com/eta-dev/eta/blob/9c8e4263d3a559444a3881a85c1607bf344d0b28/src/compile-string.ts%23L21","https://github.com/eta-dev/eta/blob/9c8e4263d3a559444a3881a85c1607bf344d0b28/src/file-handlers.ts%23L182","https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd","https://security.snyk.io/vuln/SNYK-JS-ETA-2936803","https://github.com/eta-dev/eta/blob/9c8e4263d3a559444a3881a85c1607bf344d0b28/src/compile-string.ts%23L21"],"products":["eta.js:eta"],"source":"nvd","synced_at":"2026-10-19T21:37:38.595364862+00:00"},"epss":{"cve":"CVE-2022-25967","score":0.01995,"percentile":0.80712,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mf6x-hrgr-658f","url":"https://osv.dev/vulnerability/GHSA-mf6x-hrgr-658f","summary":"Eta vulnerable to Code Injection via templates rendered with user-defined data","modified":"2023-11-08T04:08:52.941788Z","packages":[{"ecosystem":"npm","name":"eta","purl":"pkg:npm/eta","ranges":["<2.0.0"],"fixed":["2.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}