VDB
Sign up
HIGH8.0

GHSA-5j46-5hwq-gwh7

Jenkins Cross-site Scripting vulnerability

Quick fix

GHSA-5j46-5hwq-gwh7 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.414.2</version> for org.jenkins-ci.main:jenkins-core

Details

`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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.50Fixed in: 2.414.2
Fix# pom.xml: bump <version>2.414.2</version> for org.jenkins-ci.main:jenkins-core
Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.415Fixed in: 2.424
Fix# pom.xml: bump <version>2.424</version> for org.jenkins-ci.main:jenkins-core

References