CVE-2022-34778
lowpriority · track · 22EPSS 0.006 · 49 %ileEUUSEPSS · scored 2026-10-28
Jenkins TestNG Results Plugin 554.va4a552116332 and earlier renders the unescaped test descriptions and exception messages provided in test results if certain job-level options are set, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers able to configure jobs or control test results.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 3.5–8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- Maven org.jenkins-ci.plugins:testng-plugin< 555.va0d5f66521e3osvUSpkg:maven/org.jenkins-ci.plugins/testng-plugin
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-8hv7-4vfc-w8pgCross-site Scripting in Jenkins TestNG Results Plugin2022-07-01ghsa · osvUS
TestNG Results Plugin has options in its post-build step configuration to not escape test descriptions and exception messages. If those options are unchecked, TestNG Results Plugin 554.va4a552116332 and earlier renders the unescaped text provided in test results. This results in a cross-site scripting (XSS) vulnerability exploitable by attackers able to configure jobs or control test results. TestNG Results Plugin 555.va0d5f66521e3 by default ignores the user-level options to not escape content. Administrators who want to restore this functionality must set the [Java system property](https://www.jenkins.io/doc/book/managing/system-properties/) `hudson.plugins.testng.Publisher.allowUnescapedHTML` to true.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-34778/cnnvd
- https://vigilance.fr/vulnerability/Jenkins-Plugins-multiple-vulnerabilities-38705cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.3246cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022070411cnnvd
- https://www.jenkins.io/security/advisory/2022-06-30/#SECURITY-2788cnnvd
- https://www.jenkins.io/security/advisory/2022-06-30/#SECURITY-2788enisa_euvd
- https://www.jenkins.io/security/advisory/2022-06-30/#SECURITY-2788Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan