{"id":"CVE-2021-46703","aliases":["GHSA-ph3v-2hq5-5qfq"],"url":"https://o3.security/vulnerability/CVE-2021-46703","summary":"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","published":"2022-03-06T06:15:07.103Z","modified":"2026-07-08T06:01:24.364006001Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"NuGet","name":"RazorEngine","fixedVersion":null}],"fix":null,"references":[{"type":"EVIDENCE","url":"https://github.com/Antaris/RazorEngine/issues/585"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T06:01:24.364006001Z"}}