CVE-2022-0274 Cross-site Scripting (XSS) - Stored in orchardcms/orchardcore
Stored Cross-Site Scripting in OrchardCore allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-0274?
CVE-2022-0274 is a medium-severity cross-site scripting vulnerability in orchardcms/orchardcore, published on 19 Jan 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Cross-site Scripting (XSS) - Stored in NuGet OrchardCore.Application.Cms.Targets prior to 1.2.2.
Weakness: CWE-79
Which versions are affected by CVE-2022-0274?
2 open source packages ship an affected version, including OrchardCore.Application.Cms.Targets. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
OrchardCore.Application.Cms.Targets NuGet | All versions | 1.2.2 |
OrchardCore.Application.Cms.Targets NuGet | All versions | 1.2.2 |
Products include Orchardcore Orchardcore.
How do I fix CVE-2022-0274?
Upgrade OrchardCore.Application.Cms.Targets to 1.2.2 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-0274 being exploited?
There is no known exploitation of CVE-2022-0274 in the wild and no public exploit code.
Other vulnerabilities in orchardcms/orchardcore
- CVE-2022-0243 Cross-site Scripting (XSS) - Stored in orchardcms/orchardcore
- CVE-2022-0159 Cross-site Scripting (XSS) - Stored in orchardcms/orchardcore
- CVE-2022-0821 Improper Authorization in orchardcms/orchardcore
- CVE-2022-32173 OrchardCore - HTML Injection
- CVE-2022-0822 Cross-site Scripting (XSS) - Reflected in orchardcms/orchardcore
Sources
Also known as GHSA-r8hp-5m7c-jhv4.