Skip to content
OpenAdvisories
Critical · 9.6 CVE-2023-27898 BIT-jenkins-2023-27898EUVD-2023-1045GHSA-j664-qhh4-hpf8

Cross-site Scripting vulnerability in Jenkins

Published Mar 8, 2023 · Updated Feb 28, 2025 · Assigned by jenkins

Description

Jenkins 2.270 through 2.393 (both inclusive), LTS 2.277.1 through 2.375.3 (both inclusive) does not escape the Jenkins version a plugin depends on when rendering the error message stating its incompatibility with the current version of Jenkins, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide plugins to the configured update sites and have this message shown by Jenkins instances.

Affected products

VendorProductAffectedFixed
Jenkins Project Jenkins 2.270 – < 2.* 2.*

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 haproxy +1 2.2.19-4.el8 RHSA-2023:1655
Red Hat OpenShift 4 jenkins 2.387.1.1680701869-1.el8 RHSA-2023:1655
Red Hat OpenShift 4 jenkins-2-plugins 4.10.1680703106-1.el8 RHSA-2023:1655
Red Hat OpenShift 4 openshift +1 4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 RHSA-2023:1655
Red Hat Ocp Tools 4 jenkins 2.401.1.1686831596-3.el8 RHSA-2023:3663
Red Hat Ocp Tools 4 jenkins-2-plugins 4.11.1686831822-1.el8 RHSA-2023:3663

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.main:jenkins-core >= 2.376, < 2.394 2.394 GHSA-j664-qhh4-hpf8
Maven org.jenkins-ci.main:jenkins-core < 2.375.4 2.375.4 GHSA-j664-qhh4-hpf8

Advisories 3

References