Advisory record · GHSA-ph3v-2hq5-5qfq

Code injection in RazorEngine

CVSS 9.8 CriticalCriticalEPSS 0.019 · 79th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 7 Mar 2022, 00:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
RazorEngineNuGet<=4.5.1-alpha001No fixed version yet
Identifiers
GHSA-ph3v-2hq5-5qfq · CVE-2021-46703
Weakness (CWE)
CWE-1336
Published
7 Mar 2022
Updated
26 Mar 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

RazorEngine versions through 4.5.1-alpha001 are affected. If users can control template contents, an attacker can run arbitrary .NET code through the IsolatedRazorEngine component, even though it is meant to be sandboxed. The source notes that this affects only products no longer supported by the maintainer, and no fixed version is listed.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.019, the 79th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:22 UTC First seen by agentprime
  2. 31 Oct 2026, 15:22 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.