CVE-2022-34176:
Cross-site Scripting in Jenkins JUnit Plugin
8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.98102%
CWE
Published
6/24/2022
Updated
1/31/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 |
---|---|---|---|
org.jenkins-ci.plugins:junit | maven | < 1119.1121.vc43d0fc45561 | 1119.1121.vc43d0fc45561 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped test description outputs in Jelly view templates. The commit diff shows the fix adds markupFormatter.translate() to sanitize these fields. The affected lines all used raw ${test.description} expressions without escaping, which would execute any injected scripts. The added test case in HistoryTest.java demonstrates XSS payload execution prevention, confirming these were the vulnerable rendering points.