← Vulnerability feed

Vulnerability record · CVE-2022-34176 · published 23 June 2022

CVE-2022-34176: Jenkins JUnit Plugin stored XSS via unescaped test result descriptions

Jenkins · Junit

The Jenkins JUnit Plugin up to 1119.va_a_5e9068da_d7 fails to escape descriptions of test results, creating a stored cross-site scripting flaw. An attacker with Run/Update permission can plant script that executes in the browser of anyone viewing the affected test results, which matters because Jenkins sessions often carry broad build and administrative access.

5.4 CVSS 3.1 Medium EPSS 78% · top 0.4% CWE-79 · Cross-site scripting
5.4CVSS 3.1 base score, v2 3.5
78%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

Jenkins JUnit Plugin 1119.va_a_5e9068da_d7 and earlier does not escape descriptions of test results, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Run/Update permission.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

medium priorityCVSS rates it medium at 5.4 and exploitation requires authenticated Run/Update permission plus victim interaction, though the very high EPSS score warrants prompt patching.

What it is

The Jenkins JUnit Plugin up to 1119.va_a_5e9068da_d7 fails to escape descriptions of test results, creating a stored cross-site scripting flaw. An attacker with Run/Update permission can plant script that executes in the browser of anyone viewing the affected test results, which matters because Jenkins sessions often carry broad build and administrative access.

Impact

An attacker can run arbitrary JavaScript in a victim's Jenkins session, enabling session theft, credential capture, or actions performed as the victim. The scope change in the CVSS vector indicates the injected content can affect resources beyond the vulnerable component.

Attack surface

Reached over the network through the Jenkins web UI where test result descriptions are rendered; the attacker needs Run/Update permission and the victim must view the crafted content, so user interaction is required.

Exploitation

Not listed in CISA KEV and no public exploit references are provided, but EPSS is very high at 0.78 (99.5th percentile), suggesting elevated likelihood of attempted exploitation.

What to do

  • Upgrade the Jenkins JUnit Plugin to a version after 1119.va_a_5e9068da_d7 that escapes test result descriptions.
  • Restrict Run/Update permission to trusted users and review who currently holds it.
  • Apply output encoding or sanitization to test result descriptions if any custom rendering is in place.
  • Monitor Jenkins security advisories for follow-up fixes or related plugin issues.

Detection

  • Search Jenkins logs and build records for test result descriptions containing script tags or HTML event handlers.
  • Review audit logs for Run/Update permission changes or unusual build updates by low-trust accounts.
  • Inspect HTTP traffic to Jenkins for reflected or stored script payloads in test result views.
  • Alert on anomalous browser-side activity or session use originating from Jenkins users who viewed test results.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-34176 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.3CVE-2018-1000056Jenkins junit xml external entity (xxe) vulnerabilityJenkins JUnit Plugin 1.23 and earlier processes XML external entities in files it parses as part of the build process, allowing attackers with user p…EPSS 1.1%6.5CVE-2018-1000411Jenkins junit cross-site request forgery vulnerabilityA cross-site request forgery vulnerability exists in Jenkins JUnit Plugin 1.25 and earlier in TestObject.java that allows setting the description of …EPSS 0.81%5.4CVE-2023-25761Jenkins junit cross-site scripting vulnerabilityJenkins JUnit Plugin 1166.va_436e268e972 and earlier does not escape test case class names in JavaScript expressions, resulting in a stored cross-sit…EPSS 0.70%5.4CVE-2022-45380Jenkins junit cross-site scripting vulnerabilityJenkins JUnit Plugin 1159.v0b_396e1e07dd and earlier converts HTTP(S) URLs in test report output to clickable links in an unsafe manner, resulting in…EPSS 0.66%6.1CVE-2026-42897Microsoft Exchange Server XSS enables spoofingMicrosoft Exchange Server and Exchange Server Subscription Edition fail to neutralize input during web page generation, a cross-site scripting flaw (…KEVEPSS 0.52%analysed6.1CVE-2025-48700Zimbra Classic UI stored XSS via crafted email HTMLZimbra Collaboration Suite Classic UI fails to properly sanitize HTML content in email messages, allowing crafted tag structures and attribute values…KEVEPSS 1.7%analysed6.1CVE-2025-66376Zimbra Collaboration Classic UI stored XSS via CSS @import in emailZimbra Collaboration Suite 10 before 10.0.18 and 10.1 before 10.1.13 allows stored cross-site scripting in the Classic UI through CSS @import directi…KEVEPSS 20%analysed6.1CVE-2025-68461Roundcube Webmail XSS via SVG animate tagRoundcube Webmail before 1.5.12 and 1.6 before 1.6.12 is vulnerable to cross-site scripting through the animate tag in an SVG document. Because the f…KEVEPSS 27%analysed

Source: NIST National Vulnerability Database (record CVE-2022-34176), CISA KEV, FIRST EPSS (scores of 2026-09-25). This page is refreshed as NVD updates the record.