VYPR
Moderate severityNVD Advisory· Published Mar 29, 2022· Updated Aug 3, 2024

CVE-2022-28133

CVE-2022-28133

Description

Jenkins Bitbucket Server Integration Plugin 3.1.0 and earlier has stored XSS via unfiltered URL schemes in OAuth consumer callback URLs.

AI Insight

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

Jenkins Bitbucket Server Integration Plugin 3.1.0 and earlier has stored XSS via unfiltered URL schemes in OAuth consumer callback URLs.

Vulnerability

Bitbucket Server Integration Plugin 2.0.0 through 3.1.0 (inclusive) does not restrict the URL schemes allowed in callback URLs when creating OAuth consumers. This allows attackers who can create Bitbucket Server consumers to inject malicious javascript: URLs, leading to a stored cross-site scripting (XSS) vulnerability. [1][2]

Exploitation

An attacker must have access to create Bitbucket Server consumers, which may be achieved via other missing permission checks (CVE-2022-28134) giving users with Overall/Read permission the ability to create consumers. The attacker then sets a callback URL with the javascript: scheme containing arbitrary JavaScript code. When a victim interacts with the crafted consumer, the malicious script executes in the browser context of the Jenkins user. [2]

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim’s Jenkins session, potentially leading to disclosure of sensitive information, session hijacking, or further actions within Jenkins. The stored XSS persists until the malicious consumer is removed. [2]

Mitigation

Bitbucket Server Integration Plugin version 3.2.0, released March 29, 2022, limits allowed URL schemes to prevent creation of consumers with javascript: URLs. Users should update to 3.2.0 or later. No workarounds are documented. [2][3]

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
io.jenkins.plugins:atlassian-bitbucket-server-integrationMaven
>= 2.0.0, < 3.2.03.2.0

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

1