CVE-2022-0159 Cross-site Scripting (XSS) - Stored in orchardcms/orchardcore

High 7.4 Published Updated

Attackers can inject malicious scripts into OrchardCore pages, potentially stealing user data or executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0159?

CVE-2022-0159 is a high-severity cross-site scripting vulnerability in orchardcms/orchardcore, published on 12 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

orchardcore is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Weakness: CWE-79

Which versions are affected by CVE-2022-0159?

2 open source packages ship an affected version, including OrchardCore. It affects 1 product.

PackageAffectedFixed in
OrchardCore NuGetAll versions1.2.1
OrchardCore NuGetAll versions1.2.1

Products include Orchardcore Orchardcore.

How do I fix CVE-2022-0159?

Upgrade OrchardCore to 1.2.1 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-0159 being exploited?

There is no known exploitation of CVE-2022-0159 in the wild and no public exploit code.

Sources

Also known as GHSA-6w5m-jgc5-8cgc.

Is CVE-2022-0159 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free