CVE-2021-46703 – razorengine
Package
Manager: nuget
Name: razorengine
Vulnerable Version: >=0 <=4.5.1-alpha001
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.01344 pctl0.79284
Details
Code injection in RazorEngine In the IsolatedRazorEngine component of Antaris RazorEngine through 4.5.1-alpha001, an attacker can execute arbitrary .NET code in a sandboxed environment (if users can externally control template contents). NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Metadata
Created: 2022-03-07T00:00:41Z
Modified: 2025-03-26T15:32:24Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-ph3v-2hq5-5qfq/GHSA-ph3v-2hq5-5qfq.json
CWE IDs: ["CWE-1336"]
Alternative ID: GHSA-ph3v-2hq5-5qfq
Finding: F422
Auto approve: 1