CVE-2017-17837: Cross-site Scripting in Apache DeltaSpike
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.79146%
CWE
Published
5/13/2022
Updated
2/1/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.deltaspike.modules:jsf-module-project | maven | < 1.8.1 | 1.8.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper output encoding when handling the windowId parameter in JSF component rendering. The commit diff shows the fix replaced direct string concatenation ('dswh.init("' + windowId + '"') with proper escaping via writer.writeText()
. This matches the CWE-79 XSS pattern of embedding untrusted data without neutralization in web output. The JIRA ticket DELTASPIKE-1307
explicitly references this code location and the XSS risk.