{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-25858","published":"2022-07-15T20:15:08.427000Z","last_modified":"2026-06-17T04:34:24.230000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-1333"],"cpes":[{"criteria":"cpe:2.3:a:terser:terser:*:*:*:*:*:node.js:*:*","part":"a","vendor":"terser","product":"terser","version_end_excluding":"4.8.1"},{"criteria":"cpe:2.3:a:terser:terser:*:*:*:*:*:node.js:*:*","part":"a","vendor":"terser","product":"terser","version_start_including":"5.0.0","version_end_excluding":"5.14.2"}],"cpes_truncated":false,"vendors":["terser"],"products":["terser/terser"],"epss":{"score":0.02843,"percentile":0.87417,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4wf5-vphf-c2xc","ecosystem":"npm","name":"terser","purl":"pkg:npm/terser","ranges":[{"introduced":"0","fixed":"4.8.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-4wf5-vphf-c2xc","ecosystem":"npm","name":"terser","purl":"pkg:npm/terser","ranges":[{"introduced":"5.0.0","fixed":"5.14.2"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-25858/","html_en":"/en/cve/CVE-2022-25858/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25858","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25858"},"untrusted":{"vendor_name":"Terser","product_name":"Terser","desc_en":"The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.","affected":[],"references":[{"url":"https://github.com/terser/terser/blob/master/lib/compress/evaluate.js%23L135","tags":["Broken Link"]},{"url":"https://github.com/terser/terser/commit/a4da7349fdc92c05094f41d33d06d8cd4e90e76b","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/terser/terser/commit/d8cc5691be980d663c29cc4d5ce67e852d597012","tags":["Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2949722","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-TERSER-2806366","tags":["Exploit","Patch","Third Party Advisory"]}]}}