CVE-2025-30196 Jenkins AnchorChain Plugin Has a Cross-Site Scripting (XSS) Vulnerability
Attackers can inject JavaScript into Jenkins build outputs via the AnchorChain plugin, potentially executing code in victim browsers.
- 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-2025-30196?
CVE-2025-30196 is a medium-severity cross-site scripting vulnerability in Jenkins AnchorChain Plugin, published on 19 Mar 2025. 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 AnchorChain Plugin 1.0 does not limit URL schemes for links it creates based on workspace content, allowing the `javascript:` scheme, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control the input file for the Anchor Chain post-build step.
Weakness: CWE-79
Which versions are affected by CVE-2025-30196?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:anchorchain. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:anchorchain Maven | All versions | None |
org.jenkins-ci.plugins:anchorchain Maven | All versions | None |
Products include Jenkins Anchorchain.
How do I fix CVE-2025-30196?
No fix has been published for CVE-2025-30196 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-2025-30196 being exploited?
There is no known exploitation of CVE-2025-30196 in the wild and no public exploit code.
Sources
Also known as GHSA-xxrg-mg63-qfpj.