HIGH 8.0

CVE-2022-43409

Stored XSS vulnerability in Jenkins Pipeline: Supporting APIs Plugin

Description

Pipeline: Supporting APIs Plugin provides a feature to add hyperlinks, that send POST requests when clicked, to build logs. These links are used by Pipeline: Input Step Plugin to allow users to proceed or abort the build, or by Pipeline: Job Plugin to allow users to forcibly terminate the build after aborting it.

Pipeline: Supporting APIs Plugin 838.va_3a_087b_4055b and earlier does not sanitize or properly encode URLs of these hyperlinks in build logs.

This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to create Pipelines.

Pipeline: Supporting APIs Plugin 839.v35e2736cfd5c properly encodes URLs of these hyperlinks in build logs.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins.workflow » workflow-support
< 839.v35e2736cfd5c
839.v35e2736cfd5c

Blast radius

1affected artifacts
310affected versions
413dependent artifacts (est.)
29,794dependent versions

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

DepthDependent versions
Direct
6,762
2 hops
16,416
3 hops
5,100
4 hops
1,383
5 hops
72
6 hops
61

Most used dependents

Computed from the dependency graph of build 20261127.1117 (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.