CVE-2019-15477: Cross-site Scripting in Jooby
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.54523%
CWE
Published
8/27/2019
Updated
9/11/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/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.jooby:jooby | maven | < 1.6.4 | 1.6.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The core vulnerability stemmed from two key issues: 1) The default error handler (DefHandler.handle
) failed to apply HTML escaping to error message/reason fields when rendering error pages, as shown by the patch adding xssFilter
and escaper
. 2) Multiple locations passed req.path(true)
(raw path data) to error constructors, introducing unvalidated user input into error messages. The high-confidence vulnerable function is DefHandler.handle
due to direct lack of output encoding, while the path-related functions are medium confidence as they contributed attack vectors but weren't the ultimate XSS sink.