Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ejs
  4. ›
  5. CVE-2024-33883

CVE-2024-33883: ejs lacks certain pollution protection

April 28, 2024 (updated May 1, 2024)

The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.

References

  • github.com/advisories/GHSA-ghr5-ch3p-vcr6
  • github.com/mde/ejs
  • github.com/mde/ejs/commit/e469741dca7df2eb400199e1cdb74621e3f89aa5
  • github.com/mde/ejs/compare/v3.1.9...v3.1.10
  • nvd.nist.gov/vuln/detail/CVE-2024-33883

Code Behaviors & Features

Detect and mitigate CVE-2024-33883 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.1.10

Fixed versions

  • 3.1.10

Solution

Upgrade to version 3.1.10 or above.

Impact 4 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/ejs/CVE-2024-33883.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:09 +0000.