CVE
CVE-2026-83594, CVE-2026-84170, CVE-2026-95863, CVE-2026-111089, CVE-2026-82956, CVE-2026-83559, CVE-2026-83539, CVE-2026-84231, CVE-2026-82840, CVE-2026-82115, CVE-2026-82557, CVE-2026-82704, CVE-2026-82705, CVE-2026-84172, CVE-2026-84177, CVE-2026-82558, CVE-2026-82559, CVE-2026-82898, CVE-2026-87718
CWE
CWE-789, CWE-770, CWE-79, CWE-116, CWE-862, CWE-863, CWE-384, CWE-200
Affected Surface
- Maven `org.apache.wicket:wicket-core`, `wicket-extensions`, `wicket-auth-roles`, and `wicket-native-websocket-core` versions `>= 10.0.0, < 10.12.0`, `>= 9.0.0, < 9.25.0` (9.x EOL after `9.25.0`), and `>= 8.0.0, < 8.20.0` (8.x EOL after `8.20.0`)
TL;DR
Late on 1 November 2026 (21:48 to 23:17 UTC), the Apache Wicket PMC published 19 security advisories (oss-security 2026/11/01/4) fixed in Apache Wicket 10.12.0, 9.25.0, and 8.20.0 (which also mark the final end-of-life releases for the 9.x and 8.x branches):
- Unauthenticated heap and disk exhaustion in
FileUploadToResourceField(CVE-2026-83594andCVE-2026-84170, both CVSS v4.0 8.3 High):CVE-2026-83594(9.14.0to9.24.0,10.0.0to10.11.0):FileUploadToResourceFielduploads files to a separate resource and then receives an Ajax callback carrying a client-suppliedfilesInfoJSON array (fileName,size,contentType). Nothing boundfilesInfoto an actual upload, andUploadInfo.get()allocatednew byte[(int) size]before opening the file on disk. A single tiny GET or POST request to the callback URL could force a ~2 GB heap allocation for a file that was never uploaded.CVE-2026-84170(9.14.0to9.24.0,10.0.0to10.9.1):AbstractFileUploadResource(the singleton endpoint backingFileUploadToResourceField) readmaxSize,fileMaxSize, andfileCountMaxdirectly from the client’s request parameters, allowing an unauthenticated caller to override the limits configured onFileUploadToResourceFieldand exhaust disk or heap memory.
- Six cross-site scripting flaws that bypass Wicket’s default Content-Security-Policy (
CVE-2026-83559,CVE-2026-95863,CVE-2026-111089,CVE-2026-82956,CVE-2026-83539, andCVE-2026-84231, all High):CVE-2026-83559(CVSS v4.0 7.4 High):JavaScriptUtils.escapeQuotes()replaced'with\'and"with\", but never escaped the backslash (\). Any input containing\'or\"became\\'or\\", where the first backslash escaped the second and left the quote unescaped to close the JavaScript string literal (affecting both application callers andAjaxEditableLabelvalidation error messages).CVE-2026-95863,CVE-2026-111089, andCVE-2026-82956(all CVSS v4.0 7.6 High): Wicket wrote component markup IDs and form input names (CVE-2026-95863), localized resource-bundle strings and CSS class names (CVE-2026-111089), and the browser-reportedwindow.namestored byAjaxNewWindowNotifyingBehavior(CVE-2026-82956) directly into single-quoted JavaScript string literals without escaping. Because Wicket 9.x and 10.x emit those generated scripts inside<script nonce="...">elements carrying the per-response CSP nonce, injected code executes right past Wicket’s strict default CSP.
- Session fixation on re-authentication (
CVE-2026-82840, CVSS v4.0 7.2 High) and five authorization bypasses (CVE-2026-82115,CVE-2026-82557,CVE-2026-82704,CVE-2026-82705,CVE-2026-82558):CVE-2026-82840(8.18.0+,9.23.0+,10.9.0+):AuthenticatedWebSession.signIn()calledchangeSessionId()only insideif (authenticated && signedIn.compareAndSet(false, true)), so step-up re-authentication or account switching on an already signed-in session kept the pre-existingJSESSIONID.CVE-2026-82115,CVE-2026-82557,CVE-2026-82704, andCVE-2026-82705(all CVSS v4.0 6.3 to 6.9 Medium):WebSocketMessageBroadcastHandler(CVE-2026-82115) and component-heldIResourcelisteners (ResourceLink,Image,ImageButton,AjaxDownloadBehavior,ExportToolbarinCVE-2026-82705) never consultedIAuthorizationStrategy.isResourceAuthorized()or@AuthorizeResource;Form.onRequest()(CVE-2026-82557, Wicket10.3.0to10.11.0) invoked theonSubmit()callback of hidden, disabled, or unauthorizedButton/SubmitLinkcomponents; and bookmarkable listener URLs with an empty page ID (CVE-2026-82704) invoked component listeners on freshly constructed pages beforeComponent.configure()evaluatedRENDERauthorization.
What to do now: Upgrade Apache Wicket dependencies (org.apache.wicket:wicket-core, wicket-extensions, wicket-auth-roles, wicket-native-websocket-*) to 10.12.0, 9.25.0, or 8.20.0. Because 8.20.0 and 9.25.0 are the final releases of the 8.x and 9.x lines, teams on Wicket 8 or 9 should schedule migration to Wicket 10 (LTS). Note that 10.12.0 / 9.25.0 / 8.20.0 now throw an exception if any component ID or markup ID contains quotes, backslashes, brackets, ;, &, or control characters (CVE-2026-95863).
Affected packages
| Ecosystem | Maven Artifact(s) | CVE IDs | Severity | Affected versions | Fixed versions | Summary |
|---|---|---|---|---|---|---|
| Maven | org.apache.wicket:wicket-core | CVE-2026-83594, CVE-2026-84170 | CVSS v4.0 8.3 High | 9.14.0..9.24.0; 10.0.0..10.11.0 (84170 fixed in 10.10.0 for 10.x) | 9.25.0, 10.12.0 | Unbound UploadInfo.get() 2 GB byte-array allocation from client filesInfo JSON and client-overridable maxSize/fileMaxSize parameters |
| Maven | org.apache.wicket:wicket-core, wicket-extensions | CVE-2026-95863, CVE-2026-111089, CVE-2026-82956, CVE-2026-83559, CVE-2026-83539, CVE-2026-84231 | CVSS v4.0 7.6 / 7.4 High | 8.0.0..8.19.0; 9.0.0..9.24.0; 10.0.0..10.11.0 (84231 affects 8.x only) | 8.20.0, 9.25.0, 10.12.0 | CSP-nonce-bypassing XSS via markup/component IDs, resource bundles, AjaxNewWindowNotifyingBehavior window.name, JavaScriptUtils.escapeQuotes() missing backslash escape, SmartLinkLabel, and ExternalLink |
| Maven | org.apache.wicket:wicket-auth-roles | CVE-2026-82840 | CVSS v4.0 7.2 High | 8.18.0..8.19.0; 9.23.0..9.24.0; 10.9.0..10.11.0 | 8.20.0, 9.25.0, 10.12.0 | AuthenticatedWebSession.signIn() only rotates session ID on first login (signedIn.compareAndSet(false, true)) |
| Maven | org.apache.wicket:wicket-core, wicket-extensions, wicket-native-websocket-core | CVE-2026-82557, CVE-2026-82704, CVE-2026-82705, CVE-2026-82115, CVE-2026-82558, CVE-2026-82559 | CVSS v4.0 6.9 / 6.3 Medium to 2.3 Low | 8.0.0..8.19.0; 9.0.0..9.24.0; 10.0.0..10.11.0 (82557 affects 10.3.0..10.11.0) | 8.20.0, 9.25.0, 10.12.0 | Authorization bypasses on Form disabled submitters, stateless/expired listener URLs, component-held IResources, and WebSocketResources |
| Maven | org.apache.wicket:wicket-core | CVE-2026-84172, CVE-2026-84177, CVE-2026-82898, CVE-2026-87718 | CVSS v4.0 6.3 Medium to 2.1 Low | 8.0.0..8.19.0; 9.0.0..9.24.0; 10.0.0..10.11.0 | 8.20.0, 9.25.0, 10.12.0 | PackageResourceGuard HTML markup disclosure across classloaders or _ class names, login redirect COOP/CORP bypass, and omitted CSP behind nested IRequestHandlerDelegates |
Technical analysis
1. FileUploadToResourceField 2 GB heap allocation (CVE-2026-83594) and unsigned upload limits (CVE-2026-84170)
Unlike standard Wicket FileUploadField components (which submit multipart data through a page’s Form), FileUploadToResourceField posts files asynchronously to a mounted AbstractFileUploadResource singleton and then fires an Ajax callback on the field to notify the page that the upload succeeded.
Two flaws in that two-step flow exposed any application mounting FileUploadToResourceField:
- Unverified
filesInfocallback allocation (CVE-2026-83594, commite254a030bf): When the field’s Ajax callback ran, it parsed thefilesInforequest parameter (a JSON array of{ fileName, size, contentType }objects) intoFileUploadToResourceField.UploadInforecords without checking thatAbstractFileUploadResourcehad actually stored those files. Worse,UploadInfo.get()allocated the destination byte array from the client-suppliedsizefield before opening the file:
A single request to the callback URL passing// Vulnerable UploadInfo.get() in Wicket < 10.12.0 / < 9.25.0: public byte[] get() { byte[] bytes = new byte[(int)size]; // sized directly from untrusted filesInfo JSON! try (InputStream is = new FileInputStream(getFile())) { IOUtils.readFully(is, bytes); } ... }filesInfo=[{"fileName":"a","size":2147483639,"contentType":"text/plain"}]forced the JVM to allocate ~2 GB of heap beforenew FileInputStream(getFile())failed withFileNotFoundException. Commite254a030bfremovessizefrom the client JSON and reads both the file size (Files.size(file.toPath())) and bytes (Files.readAllBytes(file.toPath())) exclusively from the file actually stored byIUploadsFileManager. - Client-controlled
maxSizeandfileMaxSizeparameters (CVE-2026-84170, commitf9b1c0dfc6): BecauseAbstractFileUploadResourceis an application-wide singleton with no reference to the originatingFileUploadToResourceField,newResourceResponse()acceptedmaxSize,fileMaxSize, andfileCountMaxas query/form parameters on the upload request (and in10.10.0encrypted them with the application’sICrypt, which uses a fixed default key unless overridden). Commitf9b1c0dfc6signs the upload settings (resourceFolder|maxBytes|fileMaxBytes|fileCountMax) with a per-sessionHmacSHA256key (UPLOAD_TOKEN_KEY) stored in session metadata and verifies the MAC in constant time (MessageDigest.isEqual) before accepting the upload.
2. Why CVE-2026-83559, CVE-2026-95863, CVE-2026-111089, and CVE-2026-82956 bypass Wicket’s Content-Security-Policy
Wicket 9 and 10 ship with a strict default Content-Security-Policy (CSPHeaderConfiguration.strict()) that blocks inline event handlers and unsafe-inline scripts by stamping a per-response cryptographic nonce onto every <script> header item Wicket renders via IHeaderResponse.
However, any server-side code that interpolates an unescaped string into a JavaScript literal passed to OnDomReadyHeaderItem.forScript(...), OnEventHeaderItem.forComponent(...), or AjaxCallListener.getPrecondition(...) is emitted inside that nonced <script nonce="..."> block, so the browser executes injected JavaScript with full trust:
- Missing backslash escape in
JavaScriptUtils.escapeQuotes()(CVE-2026-83559, commitb6afceb776):
Without escaping--- a/wicket-core/src/main/java/org/apache/wicket/core/util/string/JavaScriptUtils.java +++ b/wicket-core/src/main/java/org/apache/wicket/core/util/string/JavaScriptUtils.java @@ -66,6 +71,7 @@ public static CharSequence escapeQuotes(final CharSequence input) CharSequence s = input; if (s != null) { + s = Strings.replaceAll(s, "\\", "\\\\"); s = Strings.replaceAll(s, "'", "\\'"); s = Strings.replaceAll(s, "\"", "\\\""); }\first, passing\' + alert(1) + \'throughJavaScriptUtils.escapeQuotes()produced\\' + alert(1) + \\', closing the single-quoted literal. - Unescaped markup IDs, resource bundle texts, and
window.name(CVE-2026-95863,CVE-2026-111089,CVE-2026-82956): InComponent.java(commite629876c59and3cea021af6), Wicket now rejects any component ID or markup ID containing',",`,\,(,),[,],{,},<,>,;,&, or control characters at construction time, and escapes localized strings inMultiFileUploadField,UploadProgressBar,TrapFocusBehavior,Form, andFilterFormas well asboundNameinAjaxNewWindowNotifyingBehavior(commit9d23805cd0).
3. Session fixation on re-login (CVE-2026-82840) and authorization bypasses (CVE-2026-82115, CVE-2026-82557, CVE-2026-82704, CVE-2026-82705)
In wicket-auth-roles, AuthenticatedWebSession.signIn(username, password) (commit d6587d2971) previously coupled changeSessionId() to the signedIn.compareAndSet(false, true) transition:
--- a/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java
+++ b/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java
@@ -69,10 +73,14 @@ public final boolean signIn(final String username, final String password)
if (!authenticated)
{
signOut();
}
- else if (authenticated && signedIn.compareAndSet(false, true))
+ else if (authenticated)
{
changeSessionId();
- bind();
+
+ if (signedIn.compareAndSet(false, true))
+ {
+ bind();
+ }
}
return authenticated;
}
Meanwhile, four separate request-handling paths bypassed IAuthorizationStrategy:
CVE-2026-82557(commit1fc739ca8e): On Wicket10.3.0through10.11.0,Form.onRequest()resolved the submittingButtonorSubmitLinkfrom the request parameters and passed it directly toonFormSubmitted(submitter), which only checkedisVisibleInHierarchy()andisEnabledInHierarchy()whensubmitter == null. Naming a hidden orENABLE-denied button in a plain form POST executed itsonSubmit()handler.CVE-2026-82704(commit63a66804e4): Stripping the numeric page ID from a listener URL forcedListenerRequestHandlerto instantiate a fresh page and callcomponent.canCallListener()beforecomponent.configure()had ever run, reading the defaultrenderAllowed = truebit instead of theIAuthorizationStrategyRENDERdecision oronConfigure()visibility state.CVE-2026-82705(commit195b89c9cd) andCVE-2026-82115(commit4a2b39a1e6):IAuthorizationStrategy.isResourceAuthorized()was only enforced insideResourceRequestHandler. Components that held anIResourcedirectly (ResourceLink,Image,ImageButton,AjaxDownloadBehavior, andExportToolbar) calledresource.respond(attributes)directly from their own listener, andAbstractWebSocketProcessorconnected clients to sharedWebSocketResourceendpoints without ever callingisResourceAuthorized(), ignoring@AuthorizeResourcerole restrictions.
Detection and remediation
# 1. Check Maven and Gradle dependency trees for Apache Wicket versions (< 10.12.0, < 9.25.0, < 8.20.0)
rg -n 'org\.apache\.wicket|wicket\.version|wicket-core|wicket-extensions|wicket-auth-roles|wicket-native-websocket' \
pom.xml build.gradle* gradle/libs.versions.toml 2>/dev/null
# 2. Search Java source code for the highest-risk components and helpers
rg -n 'FileUploadToResourceField|AbstractFileUploadResource|JavaScriptUtils\.escapeQuotes|AjaxNewWindowNotifyingBehavior|AuthenticatedWebSession|WebSocketResource|@AuthorizeResource' \
--glob '*.java' . 2>/dev/null
- Upgrade to Apache Wicket
10.12.0,9.25.0, or8.20.0: Updatewicket-coreand all companion Wicket modules in lockstep. Because8.20.0and9.25.0mark the end of life for Wicket 8 and 9, plan upgrades to Wicket10.12.0+. - Test dynamic
setMarkupId()/ component ID values before deploying: BecauseCVE-2026-95863enforces a strict character allowlist at component construction andsetMarkupId(), audit any code that derives component IDs or markup IDs from database strings, user input, or CSS selectors containing quotes, brackets, parentheses, semicolons, or ampersands. - Drop manual
\\pre-escaping aroundJavaScriptUtils.escapeQuotes(): If your application previously worked aroundCVE-2026-83559by replacing\with\\before callingJavaScriptUtils.escapeQuotes(), remove the manual replacement when upgrading so backslashes are not double-escaped.
Timeline
- 2026-09-05 to 2026-10-09: Apache Wicket maintainers commit fixes across
10.x,9.x, and8.xforJavaScriptUtils.escapeQuotes()(b6afceb776),IResourcecomponent authorization (195b89c9cd),FileUploadToResourceField(e254a030bf) and HMAC upload tokens (f9b1c0dfc6),Formsubmitter checks (1fc739ca8e),AuthenticatedWebSession.signIn()(d6587d2971),WebSocketResourceauthorization (4a2b39a1e6), and markup ID restrictions (e629876c59). - 2026-10-26 to 2026-10-28: Maintainers tag and publish Apache Wicket
8.20.0,9.25.0, and10.12.0to Maven Central. - 2026-11-01 (
21:48to23:17 UTC): The Apache Wicket PMC publishes all 19 CVE advisories onoss-security(2026/11/01/4), Apache mailing lists, and NVD.
From research to remediation
Check whether this pattern exists in your codebase
Turn this research into a remediation workflow. Scan dependencies and package manifests for similar supply-chain risk, then prioritize fixes with reachability context.
References
- oss-security (2026/11/01/4): Apache Wicket PMC announcement of 19 CVEs fixed in 8.20.0, 9.25.0, and 10.12.0
- apache/wicket commits e254a030bf (CVE-2026-83594) and f9b1c0dfc6 (CVE-2026-84170: FileUploadToResourceField and HMAC upload settings)
- apache/wicket commits b6afceb776 (CVE-2026-83559: escapeQuotes backslash), e629876c59 (CVE-2026-95863: markup/component id restrictions), and 9d23805cd0 (CVE-2026-82956)
- apache/wicket commits d6587d2971 (CVE-2026-82840: session fixation), 4a2b39a1e6 (CVE-2026-82115: WebSocketResource auth), 1fc739ca8e (CVE-2026-82557), 63a66804e4 (CVE-2026-82704), and 195b89c9cd (CVE-2026-82705)
- NVD: CVE-2026-83594, CVE-2026-84170, CVE-2026-95863, and CVE-2026-83559