CVE-2015-5326 — jenkins-core
Fix: jenkinsci/jenkins@abe5614CVE-2015-5326 is a Cross-site Scripting (XSS) vulnerability in org.jenkins-ci.main:jenkins-core. A fix is available for org.jenkins-ci.main:jenkins-core — see the affected versions and patch details below.
Jenkins allows Cross-Site Scripting (XSS)
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.jenkins-ci.main:jenkins-core☕org.jenkins-ci.main:jenkins-coreReal-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
Cross-site scripting (XSS) vulnerability in the slave overview page in Jenkins before 1.638 and LTS before 1.625.2 allows remote authenticated users with certain permissions to inject arbitrary web script or HTML via the slave offline status message.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jenkins-ci.main:jenkins-core | all versions | 1.625.2org.jenkins-ci.main:jenkins-core:1.625.2 |
| ☕Maven | org.jenkins-ci.main:jenkins-core | ≥ 1.626&&< 1.638 | 1.638org.jenkins-ci.main:jenkins-core:1.638 |
Affected Products
jenkinsjenkinsopenshiftredhatDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.main:jenkins-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jenkins-ci.main:jenkins-core to 1.625.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2015-5326 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Enterprise 2.2 | activemq-0:5.9.0-6.redhat.611454.el6op | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 3.1 | atomic-openshift-0:3.1.1.6-1.git.0.b57e8bd.el7aos | RHSA-2016:0070 |
Frequently Asked Questions
Is CVE-2015-5326 in your dependencies?
Find it across Maven, including transitive dependencies.