CVE-2023-25761: XSS

Published Feb 15, 2023
·
Updated

A flaw was found in the Jenkins JUnit plugin. The affected versions of the JUnit Plugin do not escape test case class names in JavaScript expressions, resulting in a stored cross-site scripting (XSS) vulnerability. This may allow an attacker to control test case class names in the JUnit resources processed by the plugin.

Other sources

Jenkins JUnit Plugin 1166.va436e268e972 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.

JUnit Plugin 1166.va436e268e972 and earlier does not escape test case class names in JavaScript expressions. This results 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.

https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-3032

Red Hat

Affected Software

8 affected componentsFixes available
redhat/jenkins<2-plugins-0:4.11.1683009941-1.el8
2-plugins-0:4.11.1683009941-1.el8
redhat/jenkins<2-plugins-0:4.12.1683009955-1.el8
2-plugins-0:4.12.1683009955-1.el8
redhat/jenkins<2-plugins-0:4.13.1684911916-1.el8
2-plugins-0:4.13.1684911916-1.el8
redhat/jenkins<2-plugins-0:4.10.1681719745-1.el8
2-plugins-0:4.10.1681719745-1.el8
maven/org.jenkins-ci.plugins:junit<=1166.va
1166.1168.vd6b_8042a_06de
redhat/JUnit Plugin<1166.1168.
1166.1168.
Jenkins JUnit Jenkins<=1166.va_436e268e972
Microsoft cbl2 junit 4.13-5

Event History

Feb 15, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Advisory Published
03:30 PM
Oct 1, 2025
Data Sourced
via Microsoft·11:11 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:11 PM
Affected Software
Updated
via Microsoft·11:11 PM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-25761?

CVE-2023-25761 is a vulnerability in the Jenkins JUnit Plugin that allows for stored cross-site scripting (XSS) attacks.

2

What is the severity of CVE-2023-25761?

CVE-2023-25761 has a severity score of 5.4, which is considered medium.

3

How does CVE-2023-25761 affect Jenkins?

CVE-2023-25761 affects the JUnit Plugin in Jenkins and allows attackers to perform stored XSS attacks.

4

Is there a fix available for CVE-2023-25761?

Yes, the recommended fix for CVE-2023-25761 is to update the JUnit Plugin to version 4.12.1683009955-1.el8 or later.

5

Where can I find more information about CVE-2023-25761?

You can find more information about CVE-2023-25761 on the CVE website, the NVD website, and the Jenkins Security Advisory page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203