CVE-2022-29078
The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view...
Basic Information
- CVE State
- PUBLISHED
- Reserved Date
- April 12, 2022
- Published Date
- April 25, 2022
- Last Updated
- August 03, 2024
- Vendor
- fleegix
- Product
- ejs
- Description
- The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view options][outputFunctionName]. This is parsed as an internal option, and overwrites the outputFunctionName option with an arbitrary OS command (which is executed upon template compilation).
- Tags
- Score
- 93.46% (Percentile: 99.81%) as of 2025-05-31
- Exploited in the Wild
- Yes (2025-05-03 00:00:00 UTC) Source
CVSS Scores
CVSS v3.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Score
Exploit Status
References
Known Exploited Vulnerability Information
Source | Added Date |
---|---|
The Shadowserver (via CIRCL) | 2025-05-03 00:00:00 UTC |
Scanner Integrations
Scanner | URL | Date Detected |
---|---|---|
Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-29078.yaml | 2025-04-26 00:00:00 UTC |
Potential Proof of Concepts
Warning: These PoCs have not been tested and could contain malware. Use at your own risk.
l0n3m4n/CVE-2022-29078
Type: github • Created: 2024-11-05 06:15:45 UTC • Stars: 2
miko550/CVE-2022-29078
Type: github • Created: 2022-07-20 10:10:01 UTC • Stars: 7
Timeline
-
CVE ID Reserved
-
CVE Published to Public
-
Detected by Nuclei
-
Added to KEVIntel