CVE-2024-28157 Jenkins GitBucket Plugin vulnerable to stored Cross-site Scripting
Stored XSS in Jenkins GitBucket Plugin allows attackers with job configuration access to execute scripts in build views.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-28157?
CVE-2024-28157 is a high-severity cross-site scripting vulnerability in Jenkins GitBucket Plugin, published on 6 Mar 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Jenkins GitBucket Plugin 0.8 and earlier does not sanitize Gitbucket URLs on build views, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to configure jobs.
Weakness: CWE-79
Which versions are affected by CVE-2024-28157?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:gitbucket. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:gitbucket Maven | All versions to 0.8 | None |
org.jenkins-ci.plugins:gitbucket Maven | All versions to 0.8 | None |
Products include Jenkins Gitbucket.
How do I fix CVE-2024-28157?
No fix has been published for CVE-2024-28157 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-28157 being exploited?
There is no known exploitation of CVE-2024-28157 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-5j74-g3c5-wqww.