CVE-2026-87718

Apache Wicket: CSP headers silently omitted for pages served through nested request handler delegates

Published Nov 1, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
Description
Apache Wicket 10.10.0, 10.11.0 and 9.24.0 do not set the Content-Security-Policy headers on a page whose render request handler is wrapped in more than one IRequestHandlerDelegate. The framework unwraps only a single delegate level when deciding whether a request renders a page, so with a deeper chain, for example an application-provided delegating request mapper combined with CryptoMapper, the page is served without any CSP header even though CSP is enabled, and no error or warning is raised. The nonce-based protection Wicket applies to inline scripts and styles, together with any other CSP directives configured by the application, is thereby lost for those pages, exposing them to content injection the policy was meant to prevent. Applications on stock Wicket that do not wrap request handlers themselves are not affected. Versions before 10.10.0 and 9.24.0 handled nested delegates correctly. Users are recommended to upgrade to version 10.12.0 or 9.25.0, which fix the issue.

Analysis

AI-generated

Technical impact

Apache Wicket versions 10.10.0, 10.11.0 and 9.24.0 incorrectly omit the Content‑Security‑Policy header for pages whose render request handler is wrapped in more than one IRequestHandlerDelegate. The framework only checks a single delegate layer when determining if a request renders a page; deeper nesting causes the CSP header to be silent, even when CSP is enabled. As a result, the nonce‑based protection that Wicket applies to inline scripts and styles is lost, allowing an attacker to inject malicious content into those pages. This weakness corresponds to CWE‑693, improper enforcement of security controls, and presents a risk to confidentiality and integrity of the web application content.

Affected Systems

The affected products are Apache Wicket from the Apache Software Foundation. Vulnerable releases are 10.10.0, 10.11.0, and 9.24.0. Applications that do not wrap request handlers are not affected. The issue is fixed in Apache Wicket 10.12.0 and 9.25.0.

Risk and Exploitability

The CVSS score of 2.3 indicates low overall severity, and the EPSS score is not available. The vulnerability is not listed in CISA KEV. Exploitation is theoretically possible when an application uses nested request handler delegates—such as a custom delegating request mapper combined with CryptoMapper—because the nested structure leads to the omission of the CSP header. However, the core condition requires specific application configuration, so the likelihood of widespread exploitation is limited but should not be ignored. The attacker would still need network access to the target application to inject content, but once achieved, the page could be compromised due to the missing CSP protections.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Wicket to version 10.12.0 or 9.25.0, which includes the CSP header fix.
  • Review any custom request handlers or mappers that wrap request handlers, and ensure that nested delegate chains are minimized or removed to prevent CSP header omission.
  • Validate that CSP headers, including nonces for inline scripts and styles, are being emitted on all served pages by inspecting responses or using a CSP testing tool.

Generated by OpenCVE AI on November 1, 2026 at 23:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache wicket
Vendors & Products Apache
Apache wicket
Type Values Removed Values Added
Description Apache Wicket 10.10.0, 10.11.0 and 9.24.0 do not set the Content-Security-Policy headers on a page whose render request handler is wrapped in more than one IRequestHandlerDelegate. The framework unwraps only a single delegate level when deciding whether a request renders a page, so with a deeper chain, for example an application-provided delegating request mapper combined with CryptoMapper, the page is served without any CSP header even though CSP is enabled, and no error or warning is raised. The nonce-based protection Wicket applies to inline scripts and styles, together with any other CSP directives configured by the application, is thereby lost for those pages, exposing them to content injection the policy was meant to prevent. Applications on stock Wicket that do not wrap request handlers themselves are not affected. Versions before 10.10.0 and 9.24.0 handled nested delegates correctly. Users are recommended to upgrade to version 10.12.0 or 9.25.0, which fix the issue.
Title Apache Wicket: CSP headers silently omitted for pages served through nested request handler delegates
Weaknesses CWE-693
References
Metrics cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/AU:N/RE:L'}

Weaknesses
  • CWE-693

    Protection Mechanism Failure

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 6, 2026, 2:39 PM
Reserved
Sep 9, 2026, 12:12 AM
Status
Deferred
Published
Nov 1, 2026, 11:17 PM
Modified
Nov 6, 2026, 3:17 PM