Maven
CVE-2026-83559
Apache Wicket: JavaScriptUtils#escapeQuotes does not escape the backslash, so its output can leave its string literal
- Severity
- High 7.4
- Published
- 1 Nov 2026
- Last changed
- 6 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Exploit chance
- 0.3% in the next 30 daysHigher than 22% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
Improper encoding or escaping of output in Apache Wicket.
org.apache.wicket.core.util.string.JavaScriptUtils#escapeQuotes() replaces each single quote in its input with a backslash and a single quote, and each double quote with a backslash and a double quote, so that the value can be placed inside a JavaScript string literal. It does not escape the backslash, which is the character that has to be escaped, and escaped first, for the rest of that escaping to hold. A value that already holds a backslash immediately before a quote therefore ends up with two backslashes in front of that quote: the first escapes the second, the quote itself is left unescaped, and it closes the literal. Whatever the value carries after that point is no longer text but JavaScript, and it runs in the application's origin and in the session of the user looking at the page.
Affected software
| Software | Affected versions |
|---|---|
org.apache.wicket:wicket-coreMaven · osv:Maven:org.apache.wicket:wicket-core |
|
About org.apache.wicket:wicket-core
Vulnerabilities in org.apache.wicket:wicket-core
- In our list
- 14
- Published in the last 12 months
- 14
- Critical, last 12 months
- 0
- High, last 12 months
- 7
- Known exploited
- 0
- CVE-2026-111089Apache Wicket: XSS via a resource bundle text written unescaped into generated JavaScript and markupHigh 7.6 1 Nov 2026
- CVE-2026-95863Apache Wicket: XSS via a component id or markup id written unescaped into generated JavaScript and markupHigh 7.6 1 Nov 2026
- CVE-2026-87718Apache Wicket: CSP headers silently omitted for pages served through nested request handler delegatesLow 2.3 1 Nov 2026
- CVE-2026-84231Apache Wicket: XSS in ExternalLink via the model URL when the component is bound to a non-anchor tagHigh 7.4 1 Nov 2026
- CVE-2026-84177Apache Wicket: A component's markup is served as a package resource when its class name contains an underscoreMedium 6.3 1 Nov 2026
- CVE-2026-84172Apache Wicket: Component markup is served as a package resource when wicket-core has its own class loaderMedium 6.3 1 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-83559