VYPR
Moderate severityNVD Advisory· Published Jun 5, 2018· Updated Sep 17, 2024

CVE-2018-1000202

CVE-2018-1000202

Description

Persistent XSS in Jenkins Groovy Postbuild Plugin allows attackers to inject JavaScript via build badge content.

AI Insight

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

Persistent XSS in Jenkins Groovy Postbuild Plugin allows attackers to inject JavaScript via build badge content.

Vulnerability

The Jenkins Groovy Postbuild Plugin version 2.3.1 and older contains a persisted cross-site scripting (XSS) vulnerability in various Jelly files. This allows an attacker who can control build badge content to inject arbitrary JavaScript code. The malicious script executes in another user's browser when that user performs certain UI actions, such as viewing the build page [1][2].

Exploitation

An attacker needs the ability to control build badge content, which typically requires at least Job/Configure permission or similar to modify build badges. The attacker injects JavaScript into the badge content. When another user (e.g., a developer or administrator) interacts with the build page (e.g., hovering over or clicking the badge), the injected script executes in the context of the Jenkins session.

Impact

Successful exploitation leads to execution of arbitrary JavaScript in the victim's browser, potentially allowing the attacker to perform actions on behalf of the victim, such as accessing sensitive data, performing administrative actions, or escalating privileges within Jenkins. The attack is persisted, meaning the malicious badge content remains active until removed [1][2].

Mitigation

The Jenkins Groovy Postbuild Plugin should be upgraded to version 2.3.2 or later to fix this vulnerability. The Jenkins Security Advisory 2018-05-09 [1] provides details and links to the updated plugin. There is no known workaround besides upgrading.

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.jvnet.hudson.plugins:groovy-postbuildMaven
< 2.42.4

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.