Miggo Logo

CVE-2018-1325: Cross-site Scripting in wicket-jquery-ui

6.1

CVSS Score
3.0

Basic Information

EPSS Score
0.5516%
Published
5/14/2022
Updated
2/1/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
com.googlecode.wicket-jquery-ui:wicket-jquery-ui-parentmaven< 6.29.16.29.1
com.googlecode.wicket-jquery-ui:wicket-jquery-ui-parentmaven>= 7.0.0, < 7.10.27.10.2
com.googlecode.wicket-jquery-ui:wicket-jquery-ui-parentmaven>= 8.0.0-M1, < 8.0.0-M9.28.0.0-M9.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The XSS vulnerability occurs when WYSIWYG content containing JS is rendered without proper escaping. In Wicket architecture:

  1. onRender() is the primary method where components write to response
  2. WYSIWYG editor components would need to handle HTML content
  3. The vulnerability pattern matches unescaped output in rendering methods
  4. Companion getter methods providing raw content would enable the chain While exact patch details are unavailable, the described vulnerability pattern and Wicket's component lifecycle strongly suggest these methods would be involved in processing and outputting unescaped user content.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

In wi*k*t-jqu*ry-ui <= *.**.*, <= *.**.*, <= *.*.*-M*.*, JS *o** *r**t** in WYSIWY* **itor will ** *x**ut** on *ispl*y.

Reasoning

T** XSS vuln*r**ility o**urs w**n WYSIWY* *ont*nt *ont*inin* JS is r*n**r** wit*out prop*r *s**pin*. In Wi*k*t *r**it**tur*: *. onR*n**r() is t** prim*ry m*t*o* w**r* *ompon*nts writ* to r*spons* *. WYSIWY* **itor *ompon*nts woul* n*** to **n*l* *TML