CVE-2022-34778
MEDIUM 5.4CVSS 3.1Cross-site Scripting in Jenkins TestNG Results Plugin
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.
- Published
- 30 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- jenkinsci-cert@googlegroups.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-8hv7-4vfc-w8pg
- Sources
- NVDJSONOSV GHSA-8hv7-4vfc-w8pgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jenkins | testng_resultscpe:2.3:a:jenkins:testng_results:*:*:*:*:*:jenkins:*:* |
<= 554.va4a552116332 | |
| OSV | Maven | org.jenkins-ci.plugins:testng-plugin | < 555.va0d5f66521e3 | 555.va0d5f66521e3 |
References
- https://www.jenkins.io/security/advisory/2022-06-30/#SECURITY-2788 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-34778 · ADVISORY
- https://github.com/jenkinsci/testng-plugin-plugin/commit/a0d5f66521e3bc470047a0b683004ce8889d3369 · WEB
- https://github.com/jenkinsci/testng-plugin-plugin · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 30 Jun 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Jul 2022)