ADVISORIES

GitHub Advisory Database

GHSA-ph3v-2hq5-5qfq

Code injection in RazorEngine

Critical No fix available CVE-2021-46703

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

EcosystemPackageAffected versions
NuGetRazorEngine
All versions up to and including 4.5.1-alpha001

References