All reports
Critical

Code injection in RazorEngine

Affected versions

Affected versions
<= 4.5.1-alpha001
Fixed version
Not reported

Exploitation

CVE-2021-46703

Probability of exploitation in the next 30 days: 1.86%

FIRST EPSS · 2026-11-23

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.

Links

Credits

  • skofman1
  • malmor