Cross-site Scripting in Ericsson CodeChecker
In Ericsson CodeChecker prior to 6.18.2, 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | codechecker | < 6.18.2 | 6.18.2 |
| Python (PyPI) | codechecker-api | not given by the source | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-44217
- https://github.com/Ericsson/codechecker/pull/3549
- https://github.com/Ericsson/codechecker/commit/72ee51158e6d81150320223b85410c179b9ee2b1
- https://codechecker-demo.eastus.cloudapp.azure.com
- https://github.com/Ericsson/codechecker
- https://github.com/Ericsson/codechecker/releases
- https://github.com/Ericsson/codechecker/releases/tag/v6.18.2
- https://github.com/Hyperkopite/CVE-2021-44217/blob/main/README.md
- https://github.com/pypa/advisory-database/tree/main/vulns/codechecker-api/PYSEC-2022-43181.yaml
- https://user-images.githubusercontent.com/9525971/142965091-e118b012-a7fc-4c2f-ad0c-80aeed6f7ec9.png
- https://codechecker-demo.eastus.cloudapp.azure.com/
- https://pypi.org/project/codechecker
- https://github.com/advisories/GHSA-fxmx-pfm2-85m2
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
codechecker, codechecker-api- Disclosed
- 18.01.2022
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2022-43181 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-fxmx-pfm2-85m2 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-625 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: codechecker-api
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.