Live threats

All CVEs / Razorengine Project

CVE-2021-46703Razorengine Project Razorengine

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Mar 6, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Razorengine.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet RazorEngine ≤ 4.5.1-alpha001 no fixed version —

Per OSV / GitHub Advisories (GHSA-ph3v-2hq5-5qfq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
razorengine_projectrazorengine< 4.5.1
razorengine_projectrazorengine4.5.1

Official sources

References

Links published by the sources. Open them with care.