wicket-core is vulnerable to Cross-site Scripting
76
CVE Score
High
Cross-site Scripting
Before the fix, AjaxNewWindowNotifyingBehavior stored the windowName request parameter a page visitor sends with the behavior's Ajax call, then substituted that remembered value unescaped into a single-quoted JavaScript precondition that Wicket writes into the page as raw script. Any visitor who can open the page could set the window name, and a name containing a quote ran script in the application's origin on every later render of that page instance. The fix escapes the remembered and generated names with JavaScriptUtils.escapeQuotes before building the script.
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 add AjaxNewWindowNotifyingBehavior to a page that visitors can open, letting them submit the windowName parameter.
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 Cross-site Scripting 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.