VDB
Sign up
MEDIUM6.1

GHSA-hv45-5j9h-7fhg

Cross-site Scripting in Jenkins

Quick fix

GHSA-hv45-5j9h-7fhg — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

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

Details

A cross-site scripting vulnerability exists in Jenkins 2.145 and earlier, LTS 2.138.1 and earlier in core/src/main/java/hudson/model/Api.java that allows attackers to specify URLs to Jenkins that result in rendering arbitrary attacker-controlled HTML by Jenkins.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 0Fixed in: 2.138.2
Fix# pom.xml: bump <version>2.138.2</version> for org.jenkins-ci.main:jenkins-core
Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.140Fixed in: 2.146
Fix# pom.xml: bump <version>2.146</version> for org.jenkins-ci.main:jenkins-core

References