GHSA-5j46-5hwq-gwh7

Jenkins Cross-site Scripting vulnerability

At a glance

Published
Updated
CVE
CVE-2023-43495
Aliases
BIT-jenkins-2023-43495
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Description

`ExpandableDetailsNote` allows annotating build log content with additional information that can be revealed when interacted with. Jenkins 2.423 and earlier, LTS 2.414.1 and earlier does not escape the value of the `caption` constructor parameter of `ExpandableDetailsNote`. This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide `caption` parameter values. As of publication, the related API is not used within Jenkins (core), and the Jenkins security team is not aware of any affected plugins. Jenkins 2.424, LTS 2.414.2 escapes `caption` constructor parameter values.

Affected packages

PackageVersions
Maven · org.jenkins-ci.main:jenkins-coreintroduced 2.50, fixed 2.414.2
Maven · org.jenkins-ci.main:jenkins-coreintroduced 2.415, fixed 2.424

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database