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…
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-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
- CVE-2026-84170Apache Wicket: Configured upload limits are not enforced by the standalone file upload resourceHigh 8.3 1 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-95863