CVE-2018-1000415 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in com.sonyericsson.hudson.plugins.rebuild:rebuild. A fix is available for com.sonyericsson.hudson.plugins.rebuild:rebuild — see the affected versions and patch details below.
Cross-site Scripting in Jenkins Rebuilder Plugin
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
com.sonyericsson.hudson.plugins.rebuild:rebuildReal-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 scripting vulnerability exists in Jenkins Rebuilder Plugin 1.28 and earlier in
RebuildAction/BooleanParameterValue.jelly,
RebuildAction/ExtendedChoiceParameterValue.jelly,
RebuildAction/FileParameterValue.jelly,
RebuildAction/LabelParameterValue.jelly,
RebuildAction/ListSubversionTagsParameterValue.jelly,
RebuildAction/MavenMetadataParameterValue.jelly,
RebuildAction/NodeParameterValue.jelly,
RebuildAction/PasswordParameterValue.jelly,
RebuildAction/RandomStringParameterValue.jelly,
RebuildAction/RunParameterValue.jelly,
RebuildAction/StringParameterValue.jelly,
RebuildAction/TextParameterValue.jelly,
RebuildAction/ValidatingStringParameterValue.jelly
that allows users with Job/Configuration permission to insert arbitrary HTML into rebuild forms.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.sonyericsson.hudson.plugins.rebuild:rebuild | all versions | 1.29com.sonyericsson.hudson.plugins.rebuild:rebuild:1.29 |
Affected Products
rebuildrebuild_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.sonyericsson.hudson.plugins.rebuild:rebuild, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.sonyericsson.hudson.plugins.rebuild:rebuild to 1.29 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-1000415 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.
Frequently Asked Questions
Is CVE-2018-1000415 in your dependencies?
Find it across Maven, including transitive dependencies.