VYPR
Moderate severityNVD Advisory· Published May 8, 2018· Updated Sep 17, 2024

CVE-2018-1000177

CVE-2018-1000177

Description

Jenkins S3 Plugin 0.10.12 and older has a stored XSS vulnerability where file names can contain JavaScript, executed when users view UI.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Jenkins S3 Plugin 0.10.12 and older has a stored XSS vulnerability where file names can contain JavaScript, executed when users view UI.

Vulnerability

A stored cross-site scripting (XSS) vulnerability exists in Jenkins S3 Plugin version 0.10.12 and older. Specifically, the file src/main/resources/hudson/plugins/s3/S3ArtifactsProjectAction/jobMain.jelly does not properly escape file names of uploaded files. This allows an attacker to define file names containing JavaScript that will be executed in another user's browser when that user performs certain UI actions [1].

Exploitation

An attacker must have the ability to upload files with arbitrary names to a Jenkins job using the S3 Plugin. The attacker uploads a file whose name includes malicious JavaScript. When another Jenkins user views the artifact list or performs UI actions that display uploaded file names (e.g., browsing a build's artifacts), the attacker's script executes in the victim's browser [2]. No special network position is required beyond access to the Jenkins instance as an authenticated user with upload permissions.

Impact

Successful exploitation results in stored XSS, allowing the attacker to execute arbitrary JavaScript in the victim's browser. This can lead to session hijacking, credential theft, arbitrary actions performed on behalf of the victim user, and potential compromise of the Jenkins instance. The attack impacts the confidentiality, integrity, and availability of the Jenkins environment [1].

Mitigation

Jenkins released an updated version of the S3 Plugin that properly escapes file names, as announced in the security advisory on 2018-04-16 [2]. Users should upgrade to a version newer than 0.10.12. No workaround is documented for this vulnerability. If upgrading is not possible, restricting the ability to upload files to trusted users may reduce risk.

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.jenkins-ci.plugins:s3Maven
< 0.11.00.11.0

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

4

News mentions

0

No linked articles in our index yet.