Technical impact
Jenkins calculates the URL to display for each file and directory in the workspace browser directly on the agent. When an attacker controls an agent process, the attacker can supply a crafted URL that includes malicious script, which is then rendered in the forked Web UI and can execute in the victim’s browser. This may allow theft of session cookies, defacement, or further exploitation of the user’s privileges within Jenkins. The primary weakness is a lack of proper input sanitization before rendering user‑controlled data, leading to an XSS vulnerability.
Affected Systems
Jenkins Project Jenkins versions 2.587 and earlier, and the Long‑Term Support release 2.580.1 and earlier. The flaw affects the workspace browser links generated on agent nodes, exposing the web interface to attackers who can run code on those agents.
Risk and Exploitability
The CVSS score of 6.1 indicates moderate severity. The EPSS score is less than 1%, implying a low chance of exploitation on a platform‑wide basis. The vulnerability is not listed in the CISA KEV catalog. XSS can compromise user sessions and operate within the browser context, so the impact is significant for any organization allowing untrusted agents or exposing the workspace UI to external users. Access requires control of an agent process, which is often an easy privilege to gain in a Jenkins environment with weak agent security or publicly hosted agents.