CVE-2023-25761
Java vulnerability analysis and mitigation

Overview

CVE-2023-25761 is a stored cross-site scripting (XSS) vulnerability discovered in the Jenkins JUnit Plugin, disclosed on February 15, 2023. The vulnerability affects JUnit Plugin versions up to and including 1166.va_436e268e972, where the plugin fails to properly escape test case class names in JavaScript expressions (Jenkins Advisory).

Technical details

The vulnerability stems from the JUnit Plugin's failure to escape test case class names in JavaScript expressions. This security flaw has been rated as having a High severity CVSS score. The issue was fixed in JUnit Plugin version 1166.1168.vd6b8042a06de, which implements proper escaping of test case class names in JavaScript expressions (Jenkins Advisory).

Impact

The vulnerability allows attackers who can control test case class names in the JUnit resources processed by the plugin to execute stored cross-site scripting (XSS) attacks. This could potentially lead to unauthorized access and manipulation of Jenkins resources (Jenkins Advisory).

Mitigation and workarounds

The recommended mitigation is to update the JUnit Plugin to version 1166.1168.vd6b8042a06de or later, which includes the security fix that properly escapes test case class names in JavaScript expressions (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management