CVE-2021-44217 Cross-site Scripting in Ericsson CodeChecker
Remote attackers can inject arbitrary web script via stored XSS in the CodeChecker reports viewer comments component.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-44217?
CVE-2021-44217 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
In Ericsson CodeChecker through 6.18.0, a Stored Cross-site scripting (XSS) vulnerability in the comments component of the reports viewer allows remote attackers to inject arbitrary web script or HTML via the POST JSON data of the /CodeCheckerService API.
Weakness: CWE-79
Which versions are affected by CVE-2021-44217?
4 open source packages ship an affected version, including codechecker and codechecker-api. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
codechecker PyPI | All versions | 6.18.2 |
codechecker PyPI | All versions | 6.18.2 |
codechecker PyPI | All versions | 6.18.2 |
codechecker-api PyPI | All versions | None |
Products include Ericsson Codechecker.
How do I fix CVE-2021-44217?
Upgrade codechecker to 6.18.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-2021-44217 being exploited?
There is no known exploitation of CVE-2021-44217 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2024-10081 codechecker vulnerable to authentication bypass when using specifically crafted URLs
- CVE-2026-25660 Authentication bypass for certain API calls
- CVE-2024-10082 codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service
- CVE-2024-53829 Cross-Site Request Forgery in CodeChecker API
- CVE-2023-49793 Path traversal in `CodeChecker server` in the endpoint of `CodeChecker store`
Sources
Also known as GHSA-fxmx-pfm2-85m2, PYSEC-2022-43181, PYSEC-2026-625.