CVE-2021-21618: Stored XSS vulnerability in Jenkins Repository Connector Plugin
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.75852%
CWE
Published
5/24/2022
Updated
10/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.plugins:repository-connector | maven | <= 2.0.2 | 2.0.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped parameter names/descriptions in build history views. Jenkins plugins typically use Jelly templates for UI rendering and Java classes for parameter handling. The advisory specifically mentions escaping was added when 'creating new parameters', indicating the rendering path for existing parameters (in build history) lacked proper escaping. The ParameterDefinition class and associated Jelly views would be the logical locations where parameter data is displayed without sanitization, as these are standard components for parameter handling in Jenkins plugins.