CVE-2023-24895
C# vulnerability analysis and mitigation

Overview

CVE-2023-24895 is a Remote Code Execution vulnerability affecting .NET, .NET Framework, and Visual Studio. The vulnerability exists in the WPF XAML parser where an unsandboxed parser can lead to remote code execution. This vulnerability was disclosed and patched in June 2023 (Microsoft Update).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with the following vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The vulnerability specifically affects the Windows Presentation Foundation (WPF) XAML parser component (NVD).

Impact

If successfully exploited, this vulnerability could allow an attacker to execute remote code on the affected system, potentially leading to full system compromise with the same privileges as the affected application (Microsoft Update).

Mitigation and workarounds

Microsoft has released security updates to address this vulnerability. The fixes are included in the June 13, 2023 security updates for affected versions of .NET Framework, .NET, and Visual Studio. Users are advised to apply these updates as part of their regular maintenance routines (Microsoft Support).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64095CRITICAL9.8
  • C#C#
  • cpe:2.3:a:dotnetnuke:dotnetnuke
NoYesOct 28, 2025
CVE-2025-64113CRITICAL9.3
  • C#C#
  • MediaBrowser.Server.Core
NoYesDec 08, 2025
CVE-2025-66631HIGH7.2
  • C#C#
  • Csla
NoYesDec 09, 2025
CVE-2025-66625MEDIUM4.9
  • C#C#
  • Umbraco.Cms
NoYesDec 09, 2025
CVE-2025-65955MEDIUM4.9
  • C#C#
  • Magick.NET-Q16-HDRI-arm64
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management