VYPR
Moderate severityNVD Advisory· Published May 21, 2018· Updated Aug 5, 2024

CVE-2017-2607

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.

PackageAffected versionsPatched versions
org.jenkins-ci.main:jenkins-coreMaven
< 2.32.22.32.2
org.jenkins-ci.main:jenkins-coreMaven
>= 2.34, < 2.442.44

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.