HIGH 8.8

CVE-2023-27898

Cross-site Scripting vulnerability in 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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.main » jenkins-core
< 2.375.4>= 2.376, < 2.394
2.375.4, 2.394

Blast radius

1affected artifacts
6,131affected versions
114dependent artifacts (est.)
8,826dependent versions

52% of the dependent artifacts (60) still pull an affected version in their latest release.

DepthDependent versions
Direct
7,594
2 hops
1,024
3 hops
35
4 hops
81
5 hops
26
6 hops
66

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Webgithub.com
Webjenkins.io