wicket-core is vulnerable to Improper Encoding or Escaping of Output
74
CVE Score
High
Improper Encoding or Escaping of Output
Before the fix, escapeQuotes in Apache Wicket escaped single and double quotes but not the backslash, which must be escaped first for that escaping to hold. Application code that passed it a value holding a backslash immediately before a quote and placed the result inside a JavaScript string literal let that quote close the literal, so the rest of the value ran as script in the application's origin for the signed-in user viewing the page. Anyone able to influence such a value through the application could supply the payload. The fix escapes the backslash first, keeping the value inside its literal.
Upgrade the org.apache.wicket:wicket-core package to a fixed release on your branch: 8.20.0, 9.25.0, 10.12.0.
You are affected if you are using a version that falls within the vulnerable range and pass a value that can contain a backslash before a quote through escapeQuotes and place the result inside a JavaScript string literal.
8.0.0 - 8.19.0
Fixed in 8.20.09.0.0 - 9.24.0
Fixed in 9.25.010.0.0 - 10.11.0
Fixed in 10.12.0wicket-core is vulnerable to Improper Encoding or Escaping of Output in versions 8.0.0 - 8.19.0, 9.0.0 - 9.24.0 and 10.0.0 - 10.11.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.