Skip to content
Fencer Vulns
medium 5.4

CVE-2023-25761 json

Cross-site Scripting in Jenkins JUnit Plugin

published 2023-02-15 3 y ago modified 2026-06-17 4 mo ago also GHSA-ph74-8rgx-64c5 , EUVD-2023-0762

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.jenkins-ci.plugins:junit 1166.1168.vd6b_8042a_06de
  • Jenkins Project Jenkins JUnit Plugin 1119.1124.va_a_8ccde5658f
  • jenkins ocp tools 4.13 2.414.3.1698292201-3.el8
  • jenkins-2-plugins ocp tools 4.13 4.13.1698292274-1.el8
  • jenkins ocp tools 4.14 2.426.3.1706516352-3.el8
  • jenkins-2-plugins ocp tools 4.14 4.14.1706516441-1.el8
  • jenkins ocp tools 4.12 2.414.3.1698293911-3.el8
  • jenkins-2-plugins ocp tools 4.12 4.12.1698294000-1.el8
  • jenkins ocp tools 4.11 2.414.3.1698298955-3.el8
  • jenkins-2-plugins ocp tools 4.11 4.11.1698299029-1.el8

red hat advisories RHSA-2023:6179RHSA-2024:0777RHSA-2023:6172RHSA-2023:6171RHSA-2023:7288RHSA-2023:3299

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-25761 updated cvss 5.4

jenkins-2-plugins/JUnit: Stored XSS vulnerability in JUnit Plugin

  • Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins-2-plugins 4.11.1683009941-1.el8, jenkins-2-plugins 4.11.1698299029-1.el8, jenkins-2-plugins 4.11.1706516946-1.el8
    fixed: vendor fix RHSA-2023:3198
  • Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins 4.12.1683009955-1.el8, jenkins-2-plugins 4.12.1698294000-1.el8, jenkins-2-plugins 4.12.1706515741-1.el8
    fixed: vendor fix RHSA-2023:3195
  • Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins 4.13.1684911916-1.el8, jenkins-2-plugins 4.13.1698292274-1.el8, jenkins-2-plugins 4.13.1706516346-1.el8
    fixed: vendor fix RHSA-2023:3299
  • Red Hat OpenShift Developer Tools and Services for OCP 4.14 jenkins-2-plugins 4.14.1699356715-1.el8, jenkins-2-plugins 4.14.1706516441-1.el8
    fixed: vendor fix RHSA-2023:7288
  • Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins 4.10.1681719745-1.el8
    fixed: vendor fix RHSA-2023:1866
  • Red Hat OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins 2.387.1.1683009763-3.el8, jenkins 2.414.3.1698298955-3.el8, jenkins 2.426.3.1706516929-3.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.387.1.1683009767-3.el8, jenkins 2.414.3.1698293911-3.el8, jenkins 2.426.3.1706515686-3.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.387.3.1684911776-3.el8, jenkins 2.414.3.1698292201-3.el8, jenkins 2.426.3.1706516254-3.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.14 jenkins 2.414.3.1699356615-3.el8, jenkins 2.426.3.1706516352-3.el8 Red Hat OpenShift Container Platform 4.10 jenkins 2.387.1.1681718871-1.el8, cri-o 1.23.5-10.rhaos4.10.gitcc8441d.el7, cri-o 1.23.5-10.rhaos4.10.gitcc8441d.el8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
19 mo ago

Exploit prediction

0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.jenkins-ci.plugins:junit
<1166.1168.vd6b_8042a_06de
1166.1168.vd6b_8042a_06de

Affected products

  • Jenkins Project Jenkins JUnit Plugin

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.