Cross-site request forgery vulnerability in Jenkins Bitbucket OAuth PluginGHSA-685j-36qx-3vp2
MEDIUMFix: jenkinsci/bitbucket-oauth-plugin@a927a8fGHSA-685j-36qx-3vp2 is a medium-severity (CVSS 5.7) Cross-Site Request Forgery (CSRF) vulnerability in org.jenkins-ci.plugins:bitbucket-oauth. A fix is available for org.jenkins-ci.plugins:bitbucket-oauth — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-685j-36qx-3vp2.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.jenkins-ci.plugins:bitbucket-oauthReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
A cross-site request forgery (CSRF) vulnerability in Jenkins Bitbucket OAuth Plugin 0.12 and earlier allows attackers to trick users into logging in to the attacker's account.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jenkins-ci.plugins:bitbucket-oauth | all versions | 0.13org.jenkins-ci.plugins:bitbucket-oauth:0.13 |
Affected Products
bitbucket oauthjenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.plugins:bitbucket-oauth, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jenkins-ci.plugins:bitbucket-oauth to 0.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-685j-36qx-3vp2 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-685j-36qx-3vp2 in your dependencies?
Find it across Maven, including transitive dependencies.