GitHub Advisory Database
GHSA-ph3v-2hq5-5qfq
Code injection in RazorEngine
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| NuGet | RazorEngine | All versions up to and including 4.5.1-alpha001 |