CrowdSecLive Exploit Tracker
Limited ExploitationCVE-2023-29827Public Exploit

ejs - RCE (CVE-2023-29827)

PublishedMay 4, 2023
First SeenJul 8, 2025
Last Seen
Reported
CVSS9.8
javascript

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.

psychologyCrowdSec Analysis

CVE-2023-29827 is a vulnerability in ejs v3.1.9 allows for server-side template injection if an attacker can control the EJS file and manipulate the closeDelimiter parameter. This flaw could potentially be exploited for remote code execution (RCE), enabling attackers to run arbitrary code on the server. However, the vendor disputes the risk, noting that the render function is not intended for use with untrusted input.

CrowdSec has been tracking this vulnerability and its exploits since 30th of June 2025.

Data from the CrowdSec community indicates that exploitation of CVE-2023-29827 is highly selective and intelligence-driven. Threat actors use advanced reconnaissance and carefully choose their targets, often as part of sophisticated campaigns or advanced persistent threat operations. CrowdSec network telemetry also shows that exploitation of CVE-2023-29827 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.

Attackers exploit this vulnerability by injecting malicious JavaScript code into the settings[view options][closeDelimiter] parameter of the /page endpoint, enabling remote code execution via EJS template injection.

lock

Full Intelligence Available

Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.

EventDate
CVE Published2023-05-04
Rule Released2025-06-30
CrowdSec First Seen2025-07-08

Remediation & Protection

lock to download blocklists, subscribe to firewalls, and access IP intelligence.