🛡️ CVE-2021-46703 — razorengine

🔴 CVSS 9.5 — Critical ✅ No Known Exploit CWE-1336 OSV
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Affected software

CVE-2021-46703 is recorded against 1 package.

  • razorengine

Timeline and source

Published on 7 March 2022 and last revised on 26 March 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)

Details

Severity CRITICAL
CVSS Score 9.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-1336
Public Exploit ✅ No
Source OSV
Published 2022-03-07
Updated 2026-08-12
Modified 2025-03-26
Fix URL N/A

Affected Packages

Software From version Fixed in
razorengine

Exploit Protection

Are you running razorengine?

CVE-2021-46703 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2021-46703 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.