All CVEs / Razorengine Project
CVE-2021-46703Razorengine Project Razorengine
Critical 9.8 No auth needed
Follow: this CVE · Razorengine Project · Razorengine Project Razorengine We alert you by email or Slack (account required).
- 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
What to do
- Apply the vendor's security update for Razorengine.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| razorengine_project | razorengine | < 4.5.1 |
| razorengine_project | razorengine | 4.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory