Skip to main content
Public proof of conceptFix available

CVE-2021-46703

A public proof of concept exists; no exploitation attested.

  • Published2022-03-06

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2022-03-0606:15CVE publishedNVD

Versions per branch

OSV · NVD
RazorEngine
BranchAffectedFixed in
4.5≤ 4.5.1-alpha001no fix published
Razorengine project razorengine
BranchAffectedFixed in
4.5< 4.5.14.5.1
4.5= 4.5.1no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

No fix published by the sources we read yet. NVD record

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2022-03-06
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-ph3v-2hq5-5qfq

Frequently asked questions

What is CVE-2021-46703?

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

Is CVE-2021-46703 actively exploited?

Active exploitation of CVE-2021-46703 has not been confirmed. Its EPSS score was 1.9% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-46703?

CVE-2021-46703 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running RazorEngine? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record