All vulnerabilities

Maven

CVE-2026-95863

Apache Wicket: XSS via a component id or markup id written unescaped into generated JavaScript and markup

Severity
High 7.6
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 26% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

Improper neutralization of input during web page generation in Apache Wicket.

Apache Wicket generates JavaScript that refers to the elements it renders, and writes into that JavaScript two values it derives itself: a component's markup id, and the input name of a form component, which is built from component ids. Both are placed inside single-quoted JavaScript string literals without being escaped for that context, so a value containing a single quote or a backslash ends the literal, and what follows is parsed as script and runs in the application's origin when the page loads.

A markup id is the value passed to org.apache.wicket.Component#setMarkupId(String), or the id attribute written in the component's markup, or an id Wicket generates, in that order. The first two are supplied by the application in an HTML context, where both characters are legal and where Wicket escapes them correctly when it writes the same value into the id attribute of the element; a generated id cannot…

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-95863