CVE-2022-29043: Stored Cross-site Scripting in Jenkins Mask Passwords Plugin
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.96573%
CWE
Published
4/13/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:mask-passwords | maven | < 3.1 | 3.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped parameter name/description rendering in Jelly templates. The patch adds h.escape()
calls and formattedDescription references, indicating the original code lacked output encoding. Both modified files handled parameter display without escaping user-controlled values (name/description), making them direct XSS injection points. The Jelly templates' form entry components (f:entry) were vulnerable entry points when rendering parameter metadata.