CVE-2023-29827

9.8 CRITICAL
Published: May 04, 2023 Modified: December 03, 2025

Description

ejs v3.1.9 is vulnerable to server-side template injection. If the ejs file is controllable, template injection can be implemented through the configuration settings of the closeDelimiter parameter. NOTE: this is disputed by the vendor because the render function is not intended to be used with untrusted input.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/mde/ejs/issues/720
Source: cve@mitre.org
Exploit Issue Tracking Patch
https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilities
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://github.com/mde/ejs/issues/720
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Issue Tracking Patch

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
77.7%
99th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

ejs