All vulnerabilities

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
Weakness
Improper output encoding (CWE-116)
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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
org.apache.wicket:wicket-coreMaven · osv:Maven:org.apache.wicket:wicket-core
  • From 8.0.0 up to 8.19.0
  • From 9.0.0 up to 9.24.0
  • From 10.0.0 up to 10.11.0

About org.apache.wicket:wicket-core

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-83559