Skip to content

Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability

High severity GitHub Reviewed Published Aug 16, 2023 to the GitHub Advisory Database • Updated Nov 11, 2023

Package

maven org.jenkins-ci.plugins:flaky-test-handler (Maven)

Affected versions

< 1.2.3

Patched versions

1.2.3

Description

Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI.

This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.

Flaky Test Handler Plugin 1.2.3 escapes JUnit test contents when showing them on the Jenkins UI.

References

Published by the National Vulnerability Database Aug 16, 2023
Published to the GitHub Advisory Database Aug 16, 2023
Reviewed Aug 16, 2023
Last updated Nov 11, 2023

Severity

High
8.0
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2023-40342

GHSA ID

GHSA-hv48-hgp6-xpqf

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.