CVE-2021-21699: Stored XSS vulnerability in Jenkins Active Choices Plugin
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.97708%
CWE
Published
5/24/2022
Updated
12/18/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.biouno:uno-choice | maven | <= 2.5.6 | 2.5.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped parameter name insertion in multiple Jelly templates. The commit patching CVE-2021-21699 systematically adds h.escape() to: 1) jQuery selectors using paramName, 2) parameter name references in JavaScript constructors (it.getName()), 3) HTML element IDs (it.randomName). These locations directly inject user-controlled parameter names into DOM/JS contexts without sanitization in vulnerable versions, enabling stored XSS when attackers craft malicious parameter names.