high

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):

  1. Unauthenticated heap and disk exhaustion in FileUploadToResourceField (CVE-2026-83594 and CVE-2026-84170, both CVSS v4.0 8.3 High):
    • CVE-2026-83594 (9.14.0 to 9.24.0, 10.0.0 to 10.11.0): FileUploadToResourceField uploads files to a separate resource and then receives an Ajax callback carrying a client-supplied filesInfo JSON array (fileName, size, contentType). Nothing bound filesInfo to an actual upload, and UploadInfo.get() allocated new 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.0 to 9.24.0, 10.0.0 to 10.9.1): AbstractFileUploadResource (the singleton endpoint backing FileUploadToResourceField) read maxSize, fileMaxSize, and fileCountMax directly from the client’s request parameters, allowing an unauthenticated caller to override the limits configured on FileUploadToResourceField and exhaust disk or heap memory.
  2. 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, and CVE-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 and AjaxEditableLabel validation error messages).
    • CVE-2026-95863, CVE-2026-111089, and CVE-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-reported window.name stored by AjaxNewWindowNotifyingBehavior (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.
  3. 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() called changeSessionId() only inside if (authenticated && signedIn.compareAndSet(false, true)), so step-up re-authentication or account switching on an already signed-in session kept the pre-existing JSESSIONID.
    • CVE-2026-82115, CVE-2026-82557, CVE-2026-82704, and CVE-2026-82705 (all CVSS v4.0 6.3 to 6.9 Medium): WebSocketMessageBroadcastHandler (CVE-2026-82115) and component-held IResource listeners (ResourceLink, Image, ImageButton, AjaxDownloadBehavior, ExportToolbar in CVE-2026-82705) never consulted IAuthorizationStrategy.isResourceAuthorized() or @AuthorizeResource; Form.onRequest() (CVE-2026-82557, Wicket 10.3.0 to 10.11.0) invoked the onSubmit() callback of hidden, disabled, or unauthorized Button / SubmitLink components; and bookmarkable listener URLs with an empty page ID (CVE-2026-82704) invoked component listeners on freshly constructed pages before Component.configure() evaluated RENDER authorization.

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

EcosystemMaven Artifact(s)CVE IDsSeverityAffected versionsFixed versionsSummary
Mavenorg.apache.wicket:wicket-coreCVE-2026-83594, CVE-2026-84170CVSS v4.0 8.3 High9.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.0Unbound UploadInfo.get() 2 GB byte-array allocation from client filesInfo JSON and client-overridable maxSize/fileMaxSize parameters
Mavenorg.apache.wicket:wicket-core, wicket-extensionsCVE-2026-95863, CVE-2026-111089, CVE-2026-82956, CVE-2026-83559, CVE-2026-83539, CVE-2026-84231CVSS v4.0 7.6 / 7.4 High8.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.0CSP-nonce-bypassing XSS via markup/component IDs, resource bundles, AjaxNewWindowNotifyingBehavior window.name, JavaScriptUtils.escapeQuotes() missing backslash escape, SmartLinkLabel, and ExternalLink
Mavenorg.apache.wicket:wicket-auth-rolesCVE-2026-82840CVSS v4.0 7.2 High8.18.0..8.19.0; 9.23.0..9.24.0; 10.9.0..10.11.08.20.0, 9.25.0, 10.12.0AuthenticatedWebSession.signIn() only rotates session ID on first login (signedIn.compareAndSet(false, true))
Mavenorg.apache.wicket:wicket-core, wicket-extensions, wicket-native-websocket-coreCVE-2026-82557, CVE-2026-82704, CVE-2026-82705, CVE-2026-82115, CVE-2026-82558, CVE-2026-82559CVSS v4.0 6.9 / 6.3 Medium to 2.3 Low8.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.0Authorization bypasses on Form disabled submitters, stateless/expired listener URLs, component-held IResources, and WebSocketResources
Mavenorg.apache.wicket:wicket-coreCVE-2026-84172, CVE-2026-84177, CVE-2026-82898, CVE-2026-87718CVSS v4.0 6.3 Medium to 2.1 Low8.0.0..8.19.0; 9.0.0..9.24.0; 10.0.0..10.11.08.20.0, 9.25.0, 10.12.0PackageResourceGuard 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:

  1. Unverified filesInfo callback allocation (CVE-2026-83594, commit e254a030bf): When the field’s Ajax callback ran, it parsed the filesInfo request parameter (a JSON array of { fileName, size, contentType } objects) into FileUploadToResourceField.UploadInfo records without checking that AbstractFileUploadResource had actually stored those files. Worse, UploadInfo.get() allocated the destination byte array from the client-supplied size field before opening the file:
    // 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);
        }
        ...
    }
    A single request to the callback URL passing filesInfo=[{"fileName":"a","size":2147483639,"contentType":"text/plain"}] forced the JVM to allocate ~2 GB of heap before new FileInputStream(getFile()) failed with FileNotFoundException. Commit e254a030bf removes size from 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 by IUploadsFileManager.
  2. Client-controlled maxSize and fileMaxSize parameters (CVE-2026-84170, commit f9b1c0dfc6): Because AbstractFileUploadResource is an application-wide singleton with no reference to the originating FileUploadToResourceField, newResourceResponse() accepted maxSize, fileMaxSize, and fileCountMax as query/form parameters on the upload request (and in 10.10.0 encrypted them with the application’s ICrypt, which uses a fixed default key unless overridden). Commit f9b1c0dfc6 signs the upload settings (resourceFolder|maxBytes|fileMaxBytes|fileCountMax) with a per-session HmacSHA256 key (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, commit b6afceb776):
    --- 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, "\"", "\\\"");
     		}
    Without escaping \ first, passing \' + alert(1) + \' through JavaScriptUtils.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): In Component.java (commit e629876c59 and 3cea021af6), Wicket now rejects any component ID or markup ID containing ', ", `, \, (, ), [, ], {, }, <, >, ;, &, or control characters at construction time, and escapes localized strings in MultiFileUploadField, UploadProgressBar, TrapFocusBehavior, Form, and FilterForm as well as boundName in AjaxNewWindowNotifyingBehavior (commit 9d23805cd0).

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 (commit 1fc739ca8e): On Wicket 10.3.0 through 10.11.0, Form.onRequest() resolved the submitting Button or SubmitLink from the request parameters and passed it directly to onFormSubmitted(submitter), which only checked isVisibleInHierarchy() and isEnabledInHierarchy() when submitter == null. Naming a hidden or ENABLE-denied button in a plain form POST executed its onSubmit() handler.
  • CVE-2026-82704 (commit 63a66804e4): Stripping the numeric page ID from a listener URL forced ListenerRequestHandler to instantiate a fresh page and call component.canCallListener() before component.configure() had ever run, reading the default renderAllowed = true bit instead of the IAuthorizationStrategy RENDER decision or onConfigure() visibility state.
  • CVE-2026-82705 (commit 195b89c9cd) and CVE-2026-82115 (commit 4a2b39a1e6): IAuthorizationStrategy.isResourceAuthorized() was only enforced inside ResourceRequestHandler. Components that held an IResource directly (ResourceLink, Image, ImageButton, AjaxDownloadBehavior, and ExportToolbar) called resource.respond(attributes) directly from their own listener, and AbstractWebSocketProcessor connected clients to shared WebSocketResource endpoints without ever calling isResourceAuthorized(), ignoring @AuthorizeResource role 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
  1. Upgrade to Apache Wicket 10.12.0, 9.25.0, or 8.20.0: Update wicket-core and all companion Wicket modules in lockstep. Because 8.20.0 and 9.25.0 mark the end of life for Wicket 8 and 9, plan upgrades to Wicket 10.12.0+.
  2. Test dynamic setMarkupId() / component ID values before deploying: Because CVE-2026-95863 enforces a strict character allowlist at component construction and setMarkupId(), 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.
  3. Drop manual \\ pre-escaping around JavaScriptUtils.escapeQuotes(): If your application previously worked around CVE-2026-83559 by replacing \ with \\ before calling JavaScriptUtils.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, and 8.x for JavaScriptUtils.escapeQuotes() (b6afceb776), IResource component authorization (195b89c9cd), FileUploadToResourceField (e254a030bf) and HMAC upload tokens (f9b1c0dfc6), Form submitter checks (1fc739ca8e), AuthenticatedWebSession.signIn() (d6587d2971), WebSocketResource authorization (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, and 10.12.0 to Maven Central.
  • 2026-11-01 (21:48 to 23:17 UTC): The Apache Wicket PMC publishes all 19 CVE advisories on oss-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