{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.5.1"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.5.1-alpha001"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "311c3bbd752cab910d35676ca51f9c5e0780c354"
            }
          ],
          "repo": "https://github.com/antaris/razorengine",
          "type": "GIT"
        }
      ]
    }
  ],
  "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",
  "id": "CVE-2021-46703",
  "modified": "2026-03-13T21:52:11.225905784Z",
  "published": "2022-03-06T06:15:07.103Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/Antaris/RazorEngine/issues/585"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}