Skip to main content

Ericsson CodeChecker CVE-2026-84164

| EUVDEUVD-2026-118104 NONE
Cross-site Scripting (XSS) (CWE-79)
2026-11-06 ERIC
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject </script> payload into analysed source or result file
  2. Delivery
    CodeChecker exporter writes field into script block
  3. Exploit
    Closing tag ends script, following markup parsed as HTML
  4. Execution
    Victim opens published report lacking CSP
  5. Impact
    img onerror handler executes script in viewer's browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires that attacker-controlled text reaches one of three specific sinks - the report message, the checker name, or the source file path - carrying a literal </script> tag plus follow-on HTML, which the static exporter emits unescaped via json.dumps (html.escape was added only for file_content at html.py:179, leaving the adjacent filePath raw; bugviewer.js:197/buglist.js:118 then assign it to innerHTML). The attacker must control the analysed tree, a third-party result file ingested by report-converter, or hold PRODUCT_STORE in the cmd diff flow; the generators affected are plist-to-html, CodeChecker parse --export html, and CodeChecker cmd diff --output html in versions below 6.29.3. Exploitation is LIMITED by: a different user must separately open the published report (user interaction); the report must be served from a destination that sets no Content-Security-Policy, since a restrictive CSP (e.g. the documented Jenkins userContent location) blocks the inline onerror handler; and the API-boundary escaping from CVE-2021-44217 does not cover this static-export path.

Impact

This is a CWE-79 stored XSS in CodeChecker's static HTML report exporter (plist-to-html, parse --export html, cmd diff --output html), where json.dumps fails to escape '<', letting a closing </script> tag in the report message, checker name, or source file path break out of the script block. No NVD CVSS base score is provided (N/A). The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:P with all impact metrics N) describes severity but scores zero impact, which understates a confirmed script-execution XSS - I assess at least low integrity/confidentiality impact on the victim's browser. The vulnerability is not in CISA KEV (no active exploitation confirmed) and no EPSS score was supplied, so widespread-exploitation probability cannot be quantified. The vuln.today decision label is 'awaiting_data', i.e. not act_now or emergency. Real-world risk is moderate and strongly conditional rather than critical: exploitation requires a privileged input position (control of the analysed tree, an ingested third-party result file, or PRODUCT_STORE), a victim separately opening the generated report, and a publishing destination that sets no CSP. The advisory itself notes the documented Jenkins userContent/Gerrit destination serves content under a restrictive CSP that would block the inline onerror handler, likely neutralizing the one documented workflow - the danger is any OTHER destination lacking CSP, since the report emits none of its own. Treat as a patch-in-normal-cycle medium issue, not a drop-everything emergency.

Exploit ScenarioDerived

A malicious contributor (or author of a third-party result file ingested by report-converter) crafts a source file path, checker name, or diagnostic message containing a closing </script> tag followed by an <img onerror=...> payload; CodeChecker's static exporter writes it verbatim into the report's script block. When a reviewer later opens the published HTML report from a location without a Content-Security-Policy, Python-style HTML recovery parses the injected element and the onerror handler executes in the reviewer's browser. The GHSA advisory documents a confirmed reproduction against the 6.29.1 PyPI sdist, where document.title was changed in Chrome on both index.html and the per-file report page.

Awaiting Data No severity or threat signals available yet. Label will update when CVSS score is published or threat intelligence arrives.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Stored cross-site scripting in Ericsson CodeChecker's static HTML report export (plist-to-html, CodeChecker parse --export html and CodeChecker cmd diff --output html) lets attacker-controlled text in the report message, the checker name or the source file path break out of the report's script block and inject live HTML. Versions below 6.29.3 are affected; the assessed severity is CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, reflecting that the attacker must already control the analysed tree, a third-party result file ingested by report-converter, or PRODUCT_STORE in the cmd diff flow, and that a different user must then open the published report. Impact is further bounded by the publication destination: the generated files carry no Content-Security-Policy of their own, but the documented Jenkins userContent location serves them under a restrictive CSP that would block an inline event handler, so exposure lands wherever the report is published without one. No public exploit code has been identified at time of analysis, though the advisory documents the reporter's own reproduction against the 6.29.1 sdist; this is a direct descendant of CVE-2021-44217.

RemediationAI

Upgrade to CodeChecker 6.29.3, the version boundary given in the vendor advisory (https://github.com/Ericsson/codechecker/security/advisories/GHSA-6w9g-677j-q2xq) and in EUVD-2026-118104; because PyPI metadata may lag the advisory, verify the installed version directly rather than relying on the resolver. Where upgrading is not immediately possible, serve generated reports only from a response header or server configuration that applies a restrictive Content-Security-Policy with a script-src that does not permit inline handlers or inline script, which neutralises the onerror payload at the cost of breaking any interactive behaviour the report bundle relies on; publishing into Jenkins userContent already supplies such a CSP and is likely safe as currently configured, but the generated files themselves set no policy, so any other hosting location is exposed. Treat report input as untrusted: restrict who can write to PRODUCT_STORE used by CodeChecker cmd diff, and avoid running plist-to-html or parse --export html over trees or third-party report-converter result files contributed by parties who are not trusted to author the code under analysis, since such a party is by definition the attacker in this pattern. The Thrift API-boundary escaping introduced for CVE-2021-44217 does not protect the static export path and should not be counted as a mitigation here.

Affected VersionsENISA

codechecker 0 <6.29.3

Affected Packages

euvd codechecker fix: 6.29.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-79 in the report generator: report fields are serialised into an inline <script> block with json.dumps, which does not escape the less-than character, so a literal closing script tag inside any serialised string terminates the script element and everything after it is parsed as markup by the browser. The Vue-based UI is not the vulnerable path here; the escaping added for CVE-2021-44217 sits at the Thrift API boundary in report_server.py because that UI renders the fields with v-html, and the static exporter never calls that API. cmd diff --output html does call it, but the reports arrive through getRunResults, whose checkerMsg and File.filePath were outside that fix's scope. Commit 65f36762 later added html.escape(file_content) at html.py:179 while leaving the filePath assignment on the preceding line raw; bugviewer.js:197 and buglist.js:118 then assign that value to innerHTML. A fourth shared sink exists: bugviewer.js builds an anchor from the checker url and name by string concatenation and assigns it to innerHTML. The reporter reproduced the issue against the codechecker 6.29.1 sdist from PyPI (not master): a plist naming a source file whose path contains markup, with a diagnostic message containing a closing script tag followed by an img with an onerror handler, produced index.html and the per-file report page both containing the closing tag, with Python's html.parser recovering real img elements bearing live onerror attributes and Chrome changing document.title on both pages; statistics.html from the same run was unchanged. No Content-Security-Policy is emitted on any generated file, which is what allows the injected handler to execute at publication destinations that do not set one.

Know when Codechecker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ERIC) PRIMARY 0.0 NONE
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Attacker needs a privileged pipeline/input position (PR:L) and the victim must open the report (UI:R); injected script runs in the victim's browser, a different authority (S:C), with low C/I and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (ERIC).

CVSS VectorVendor: ERIC

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 06, 2026 - 11:20 EUVD

DescriptionCVE.org

The HTML report that plist-to-html, CodeChecker parse --export html and CodeChecker cmd diff --output html generate puts the report message, the checker name and the source file path into a script block through json.dumps. json.dumps does not escape the less-than character, so a closing script tag in any of those three fields ends the script element and what follows is parsed as HTML.

The input author is whoever controls the analysed tree or a third-party result file that report-converter ingests, or who holds PRODUCT_STORE in the cmd diff flow. The viewer is somebody else: docs/jenkins_gerrit_integration.md documents writing the report into Jenkins userContent and posting its URL into a Gerrit review. One caveat worth stating up front is that Jenkins serves userContent under a restrictive CSP that would block an inline handler, so that destination is probably safe as configured. The generated report sets no CSP of its own, so the impact lands wherever it is published without one.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche open-source C/C++ static-analysis CI tool, limited production web footprint
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity NONE
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.
Awaiting Data No severity or threat signals available yet. Label will update when CVSS score is published or threat intelligence arrives.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2024-10081 CRITICAL POC
10.0 Nov 06

CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy. R

CVE-2026-25660 CRITICAL POC
9.3 Apr 24

Authentication bypass in CodeChecker allows remote unauthenticated attackers to assign arbitrary permissions to any user

CVE-2025-40843 HIGH POC
7.8 Oct 28

Stack-based buffer overflow in CodeChecker through 6.26.1 can be triggered by the local `CodeChecker log` command when i

CVE-2024-10082 CRITICAL
9.0 Nov 06

CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy. R

CVE-2025-1300 MEDIUM
6.1 Feb 28

CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy. R

CVE-2026-58107 MEDIUM
5.5 Aug 28

Memory exhaustion and disk consumption in Ericsson CodeChecker's massStoreRun API endpoint allows authenticated users ho

CVE-2026-84155 MEDIUM
5.3 Nov 06

Captured Ericsson CodeChecker session tokens remain usable after logout when the web server runs more than one API worke

CVE-2026-84161 MEDIUM
4.9 Nov 06

Unbounded zlib decompression in CodeChecker 6.29.0's storeAnalysisStatistics Thrift-over-HTTP method lets an authenticat

CVE-2026-58106 LOW
2.0 Aug 28

Stack buffer overflow in Ericsson CodeChecker through 6.28.2 results from an off-by-two error introduced during the CVE-

CVE-2026-58108 LOW
1.2 Aug 26

Improper access control in Ericsson CodeChecker allows an authenticated user to delete all personal access tokens system

CVE-2024-53829 HIGH POC
8.2 Jan 21

CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy. R

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy