CVE-2017-2607
Description
Jenkins before 2.44 and 2.32.2 has a persisted XSS vulnerability in console notes, enabling attackers with job or SCM access to execute arbitrary JavaScript when users view build logs.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Jenkins before 2.44 and 2.32.2 has a persisted XSS vulnerability in console notes, enabling attackers with job or SCM access to execute arbitrary JavaScript when users view build logs.
Vulnerability
Jenkins versions before 2.44 and 2.32.2 are vulnerable to a persisted cross-site scripting (XSS) vulnerability in console notes (SECURITY-382). Jenkins allows plugins to annotate build logs, adding new content or modifying presentation while the build runs. The vulnerability exists because console notes were not signed, allowing malicious users to inject serialized console notes that are rendered unsafely [1][3].
Exploitation
An attacker must have either job configuration permissions or SCM access to a Jenkins job. They can modify build scripts or job configurations to output specially crafted serialized console notes. When other Jenkins users view the build logs, the malicious notes are deserialized and executed in the browser, performing XSS attacks [1][3].
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's browser within the Jenkins application. This can lead to disclosure of sensitive information, session hijacking, or performing actions on behalf of the victim user [1][3].
Mitigation
The fix was released in Jenkins versions 2.44 and 2.32.2 on 2017-02-01. The fix introduces signing of console notes when created; unsafely signed notes are not deserialized. As a workaround, administrators can set the system property hudson.console.ConsoleNote.INSECURE to true to restore the previous unsafe behavior, but this is not recommended [3]. The upstream commit is referenced in [3].
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.
| Package | Affected versions | Patched versions |
|---|---|---|
org.jenkins-ci.main:jenkins-coreMaven | < 2.32.2 | 2.32.2 |
org.jenkins-ci.main:jenkins-coreMaven | >= 2.34, < 2.44 | 2.44 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-42m6-7xff-9v9mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2017-2607ghsaADVISORY
- www.securityfocus.com/bid/95963ghsavdb-entryx_refsource_BIDWEB
- bugzilla.redhat.com/show_bug.cgighsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.