CVE-2020-2236: Stored XSS vulnerability in Jenkins Yet Another Build Visualizer Plugin
8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.46137%
CWE
Published
5/24/2022
Updated
12/20/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.axis.system.jenkins.plugins.downstream:yet-another-build-visualizer | maven | < 1.12 | 1.12 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows the critical fix was adding Util.xmlEscape()
to the tooltip content in buildFlow.groovy
. The unescaped currentBuild.displayName
in the div's tooltip attribute (line 84 in original code) allowed stored XSS. This rendering occurs in the drawBuildInfo
method's template logic when generating build history visualization. The lack of output encoding on a user-controlled field (build display name) directly matches the CWE-79 XSS pattern.