{"id":"CVE-2021-23425","aliases":["GHSA-38fc-wpqx-33j7"],"url":"https://o3.security/vulnerability/CVE-2021-23425","summary":"Uncontrolled Resource Consumption in trim-off-newlines","details":"All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.","published":"2021-08-18T17:15:08.067Z","modified":"2026-07-09T00:06:29.768343Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"npm","name":"trim-off-newlines","fixedVersion":"1.0.3"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T00:06:29.768343Z"}}