CVE-2022-0145 Cross-site Scripting (XSS) - Stored in forkcms/forkcms
Stored Cross-Site Scripting in Fork CMS allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0145?
CVE-2022-0145 is a medium-severity cross-site scripting vulnerability in forkcms/forkcms, published on 24 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Cross-site Scripting (XSS) - Stored in GitHub repository forkcms/forkcms prior to 5.11.1.
Weakness: CWE-79
Which versions are affected by CVE-2022-0145?
2 open source packages ship an affected version, including forkcms/forkcms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
forkcms/forkcms Packagist | All versions | 5.11.1 |
forkcms/forkcms Packagist | All versions | 5.11.1 |
Products include Fork-Cms Fork Cms.
How do I fix CVE-2022-0145?
Upgrade forkcms/forkcms to 5.11.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-0145 being exploited?
There is no known exploitation of CVE-2022-0145 in the wild and no public exploit code.
Other vulnerabilities in forkcms/forkcms
- CVE-2019-15521 Spoon Library as used in Fork CMS allows PHP object injection
- CVE-2022-0153 SQL Injection in forkcms/forkcms
- CVE-2022-1064 SQL injection through marking blog comments on bulk as spam in forkcms/forkcms
- CVE-2021-28931 Arbitrary file upload in Fork CMS
- CVE-2020-23264 Cross-Site Request Forgery in forkcms
Sources
Also known as GHSA-qf2g-q4mc-w7rr.