VYPR
High severityNVD Advisory· Published May 11, 2021· Updated Aug 3, 2024

CVE-2021-21652

CVE-2021-21652

Description

CSRF in Jenkins Xray Plugin allows attackers to capture credentials by tricking users into connecting to attacker-controlled URLs.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

CSRF in Jenkins Xray Plugin allows attackers to capture credentials by tricking users into connecting to attacker-controlled URLs.

Vulnerability

A cross-site request forgery (CSRF) vulnerability exists in Jenkins Xray - Test Management for Jira Plugin version 2.4.0 and earlier. The plugin does not properly validate requests, allowing an attacker to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method. [1][2]

Exploitation

To exploit this vulnerability, an attacker must first obtain valid credentials IDs from Jenkins (e.g., via another vulnerability). Then, the attacker tricks a Jenkins user with appropriate permissions into sending a crafted request, which triggers a connection to an attacker-controlled URL using those credentials IDs. The user interaction is required because CSRF relies on the victim's browser session. [2]

Impact

Successful exploitation allows the attacker to capture credentials stored in Jenkins by having the plugin connect to an attacker-specified URL with the obtained credentials IDs. This leads to information disclosure of sensitive credentials, potentially compromising further systems. [1][2]

Mitigation

As of the provided references, no fixed version is explicitly mentioned. Users should monitor the Jenkins Xray plugin page for updates. The vulnerability was reported in the Jenkins Security Advisory dated 2021-05-11. Until a fix is released, users may consider disabling the plugin if not in use, or applying strict network controls to limit outbound connections from Jenkins. [1]

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.jenkins-ci.plugins:xray-connectorMaven
< 2.4.12.4.1

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

4

News mentions

1