Code injection in RazorEngine
Critical severity
GitHub Reviewed
Published
Mar 7, 2022
to the GitHub Advisory Database
•
Updated Mar 26, 2025
Description
Published by the National Vulnerability Database
Mar 6, 2022
Published to the GitHub Advisory Database
Mar 7, 2022
Reviewed
Mar 11, 2022
Last updated
Mar 26, 2025
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.
References