ADVISORIES

Vulnerability

CVE-2021-33623

The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.

14 advisories report this vulnerability, across 5 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2021-33623

    The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.

    CVE-2021-33623 Ubuntu Updated 24 November 2026
  • USN-5999-1

    node-trim-newlines vulnerability

    CVE-2021-33623 Ubuntu Updated 24 November 2026

References