cve.bz

CVE-2023-25761 jenkins junit: Cross-site Scripting

5.4 mediumEPSS 0.7%Fix available

Medium (5.4) in jenkins junit. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.jenkins-ci.plugins:junit 1166.1168.vd6b_8042a_06de.

On this page
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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-25761 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-25761?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-25761?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-25761 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Jenkins Project Jenkins JUnit Pluginthrough 1166.va_436e268e972

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-ph74-8rgx-64c5Mavenorg.jenkins-ci.plugins:junit<1166.1168.vd6b_8042a_06de1166.1168.vd6b_8042a_06de

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatocp_tools:4.11::el8jenkins0:2.387.1.1683009763-3.el8RHSA-2023:3198
Red Hatocp_tools:4.11::el8jenkins0:2.414.3.1698298955-3.el8RHSA-2023:6171
Red Hatocp_tools:4.11::el8jenkins0:2.426.3.1706516929-3.el8RHSA-2024:0775
Red Hatocp_tools:4.11::el8jenkins-2-plugins0:4.11.1683009941-1.el8RHSA-2023:3198
Red Hatocp_tools:4.11::el8jenkins-2-plugins0:4.11.1698299029-1.el8RHSA-2023:6171
Red Hatocp_tools:4.11::el8jenkins-2-plugins0:4.11.1706516946-1.el8RHSA-2024:0775
Red Hatocp_tools:4.12::el8jenkins0:2.387.1.1683009767-3.el8RHSA-2023:3195
Red Hatocp_tools:4.12::el8jenkins0:2.414.3.1698293911-3.el8RHSA-2023:6172
Red Hatocp_tools:4.12::el8jenkins0:2.426.3.1706515686-3.el8RHSA-2024:0778
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1683009955-1.el8RHSA-2023:3195
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1698294000-1.el8RHSA-2023:6172
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1706515741-1.el8RHSA-2024:0778
11 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

OpenShift 3.11 is already in the ELS support model phase. The Jenkins components are out of scope of the ELS support, therefore, the OpenShift 3.11 Jenkins component is marked as out of support scope in this CVE.

ProductPackageStateAdvisory
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1683009955-1.el8Fixed 2023-05-18RHSA-2023:3195
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1698294000-1.el8Fixed 2023-10-30RHSA-2023:6172
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1706515741-1.el8Fixed 2024-02-12RHSA-2024:0778
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1684911916-1.el8Fixed 2023-05-24RHSA-2023:3299
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1698292274-1.el8Fixed 2023-10-30RHSA-2023:6179
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1706516346-1.el8Fixed 2024-02-12RHSA-2024:0776
OCP-Tools-4.14-RHEL-8jenkins-2-plugins-0:4.14.1699356715-1.el8Fixed 2023-11-16RHSA-2023:7288
OCP-Tools-4.14-RHEL-8jenkins-2-plugins-0:4.14.1706516441-1.el8Fixed 2024-02-12RHSA-2024:0777
OpenShift Developer Tools and Services for OCP 4.11jenkins-2-plugins-0:4.11.1683009941-1.el8Fixed 2023-05-17RHSA-2023:3198
OpenShift Developer Tools and Services for OCP 4.11jenkins-2-plugins-0:4.11.1698299029-1.el8Fixed 2023-10-30RHSA-2023:6171
OpenShift Developer Tools and Services for OCP 4.11jenkins-2-plugins-0:4.11.1706516946-1.el8Fixed 2024-02-12RHSA-2024:0775
Red Hat OpenShift Container Platform 4.10jenkins-2-plugins-0:4.10.1681719745-1.el8Fixed 2023-04-26RHSA-2023:1866
Red Hat OpenShift Container Platform 3.11jenkins-2-pluginsOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-25761.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON