CVE-2015-1812: Jenkins Cross-site Scripting vulnerability
4.3
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.40712%
CWE
Published
5/17/2022
Updated
3/22/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.main:jenkins-core | maven | < 1.596.2 | 1.596.2 |
org.jenkins-ci.main:jenkins-core | maven | >= 1.600, < 1.606 | 1.606 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows the vulnerability was fixed by wrapping Functions.printThrowable()
with Util.escape()
. This indicates the original code rendered raw exception details into HTML
without sanitization, creating an XSS
vector. The test case added in FormValidationTest.java
explicitly checks for HTML
sanitization, confirming the vulnerability's location and mechanism.