CVE-2022-25189: Stored Cross-site Scripting vulnerability in Jenkins Custom Checkbox Parameter Plugin
8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.89297%
CWE
Published
2/16/2022
Updated
2/3/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
io.jenkins.plugins:custom-checkbox-parameter | maven | < 1.2 | 1.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from unescaped parameter names in the UI rendering. The key evidence is in the pre-patch index.jelly
where ${it.name} was directly used in JavaScript initialization. The patch changed this to retrieve the value from a hidden input's val()
(which HTML-escapes content), indicating the parameter name was previously rendered without proper contextual escaping. This matches the CVE description of unescaped parameter names causing XSS.