CVE-2022-0159
C# vulnerability analysis and mitigation

Overview

OrchardCore, a content management system, was found to be vulnerable to Cross-site Scripting (XSS) due to improper neutralization of input during web page generation. The vulnerability was identified and assigned CVE-2022-0159 on January 10, 2022 (CVE Details).

Technical details

The vulnerability stems from improper encoding of user input in various views and controllers within the OrchardCore system. The issue specifically affected multiple components including the AdminDashboard, Contents, Demo pages, Flows, Layers, and Workflows modules. A fix was implemented through proper HTML encoding of user input and display text (GitHub Commit).

Impact

The vulnerability could allow attackers to execute malicious scripts in the context of other users' browsers, potentially leading to theft of sensitive information, session hijacking, or other client-side attacks (CVE Details).

Mitigation and workarounds

The vulnerability was addressed through a security patch that implemented proper HTML encoding across multiple components. The fix includes updates to various controllers and views to ensure proper encoding of user input and display text (GitHub Commit).

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#
  • DNN.PLATFORM
NoYesOct 28, 2025
CVE-2025-64113CRITICAL9.3
  • C#C#
  • MediaBrowser.Server.Core
NoYesDec 09, 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-Q8-OpenMP-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