Skip to main content

Apache Wicket CVE-2026-42509

| EUVDEUVD-2026-27556 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-06
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker crafts string with JavaScript sequence breaker
  2. Delivery
    Embeds payload in URL parameter or form field
  3. Exploit
    Victim clicks link or submits form
  4. Install
    Wicket renders string into JavaScript context
  5. C2
    Payload breaks out of string boundary
  6. Execute
    Arbitrary JavaScript executes in victim's browser
  7. Impact
    Session cookie or sensitive data accessed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that untrusted user input (such as URL parameters, form data, component properties, or localized message parameters) reaches Wicket's JavaScript rendering code without proper output encoding. Specifically, the vulnerability is triggered when Wicket serializes strings into JavaScript contexts (e.g., JavaScript literals, variable assignments, or method calls) and the input contains characters or sequences that terminate the JavaScript string boundary (such as unescaped quotes, backslashes, semicolons, or comment delimiters). Additionally, user interaction is mandatory: the victim must click a malicious link, submit a form with the payload, or navigate to a page that renders the payload. The vulnerability does not require authentication or elevated privileges to trigger. Non-default configurations or specific Wicket features that bypass output encoding, or custom components that render user input as JavaScript without sanitization, increase exploitation likelihood. Browsers with weak XSS protection or permissive script execution policies, and applications lacking Content Security Policy headers, further enable exploitation.

Impact

The CVSS v3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) indicates moderate severity with important nuances: network-accessible attack vector and low complexity favor attackers, but the requirement for user interaction (UI:R) significantly limits exploitation scope and reliability. The Scope:Changed flag suggests the XSS can affect resources beyond the vulnerable application (e.g., session cookies, sensitive data in the same browser origin). However, the EPSS score of 0.03% (8th percentile) contradicts the CVSS base score of 6.1, suggesting that empirical exploit attempts are rare or unsuccessful in practice. This discrepancy may indicate that real-world exploitation requires specific conditions not captured in the CVSS vector, such as deployment configurations where user input actually reaches the vulnerable JavaScript rendering code, or that defensive browser features (Content Security Policy, HttpOnly cookies) mitigate practical impact. The presence of user interaction as a requirement is a critical limiting factor: attackers must socially engineer victims to visit a malicious URL or interact with a crafted payload, reducing the likelihood of mass exploitation compared to pre-authenticated or unauthenticated direct attacks. No public exploit code or CISA KEV listing is indicated in the provided data, further suggesting limited active exploitation.

Exploit ScenarioDerived

An attacker crafts a URL or form submission containing a malicious string payload designed to break out of a JavaScript string context within an Apache Wicket component (e.g., a component property that renders as JavaScript). The attacker sends the URL to a victim via email, social media, or a malicious website. When the victim clicks the link or visits a page that incorporates the payload (e.g., a search results page that reflects user input, or a component parameter in a URL), Wicket renders the JavaScript with the attacker's payload improperly escaped. The payload breaks out of the string context and executes arbitrary JavaScript in the victim's browser, potentially stealing session cookies, redirecting to a phishing site, or performing actions on the victim's behalf within the web application.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 06, 2026

Cross-site scripting (XSS) vulnerability in Apache Wicket allows unauthenticated remote attackers to inject malicious JavaScript through crafted strings that break out of JavaScript sequence contexts. Affected versions include Wicket 8.0.0-8.17.0, 9.0.0-9.22.0, and 10.0.0-10.8.0. User interaction (e.g., clicking a malicious link) is required for exploitation. EPSS score of 0.03% (8th percentile) indicates low empirical exploitation probability despite network-accessible attack vector.

RemediationAI

Upgrade Apache Wicket to a patched version released after the vulnerability disclosure (expected versions: 8.18.0 or later, 9.23.0 or later, 10.9.0 or later; confirm exact versions via Apache Wicket release notes and security advisories). If immediate upgrade is not feasible, implement the following compensating controls: (1) Enable and enforce a strict Content Security Policy (CSP) header that restricts script-src to trusted origins only and disallows inline script execution - this will prevent injected JavaScript from executing, though it may require refactoring of inline script dependencies; (2) Apply input validation and sanitization at the application level, escaping or rejecting user inputs that contain JavaScript sequence breakers (quotes, semicolons, comment delimiters) before they reach Wicket's JavaScript rendering pipeline; (3) Mark session and sensitive cookies with HttpOnly and Secure flags to prevent JavaScript access and transmission over unencrypted channels, reducing information disclosure impact; (4) Use a Web Application Firewall (WAF) to detect and block HTTP requests containing common XSS payloads targeting JavaScript contexts. These mitigations may reduce application functionality or introduce latency, so testing is required before production deployment.

Affected VersionsENISA

Apache Wicket 9.0.0 ≤9.22.0
Apache Wicket 10.0.0 ≤10.8.0
Apache Wicket 8.0.0 ≤8.17.0

Affected Packages

maven org.apache.wicket:wicket-parent fix: 10.9.0
euvd apache_wicket no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Wicket is a Java web application framework that provides server-side component models for building dynamic web UIs. The vulnerability resides in Wicket's JavaScript rendering pipeline, where user-supplied or application-provided strings are serialized into JavaScript contexts without proper escaping or sanitization. The root cause is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting), a context-aware injection flaw. When Wicket constructs JavaScript code that incorporates untrusted data (e.g., component parameters, model values, or localized strings), an attacker can craft strings containing JavaScript sequence terminators (quotes, semicolons, comment markers) to break out of the intended string literal or expression boundary and execute arbitrary JavaScript in the victim's browser context. This affects the Wicket framework across multiple major versions (8.x, 9.x, 10.x lines) in its core JavaScript generation functionality.

Know when Wicket gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
May 06, 2026 - 20:37 NVD
6.1 (MEDIUM)
CVE Published
May 06, 2026 - 00:45 nvd
MEDIUM 6.1

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Wicket

View all
CVE-2015-5347 MEDIUM POC
6.1 Apr 12

Cross-site scripting (XSS) vulnerability in the getWindowOpenJavaScript function in org.apache.wicket.extensions.ajax.ma

CVE-2016-6793 CRITICAL
9.1 Jul 17

The DiskFileItem class in Apache Wicket 6.x before 6.25.0 and 1.5.x before 1.5.17 allows remote attackers to cause a den

CVE-2024-36522 CRITICAL
9.8 Jul 12

The default configuration of XSLTResourceStream.java is vulnerable to remote code execution via XSLT injection when proc

CVE-2026-40010 CRITICAL
9.1 May 06

Session fixation in Apache Wicket AuthenticatedWebSession allows remote unauthenticated attackers to hijack user session

CVE-2016-6806 HIGH
8.8 Oct 03

Apache Wicket 6.x before 6.25.0, 7.x before 7.5.0, and 8.0.0-M1 provide a CSRF prevention measure that fails to discover

CVE-2014-3526 HIGH
7.5 Oct 30

Apache Wicket before 1.5.12, 6.x before 6.17.0, and 7.x before 7.0.0-M3 might allow remote attackers to obtain sensitive

CVE-2014-7808 HIGH
7.5 Sep 15

Apache Wicket before 1.5.13, 6.x before 6.19.0, and 7.x before 7.0.0-M5 make it easier for attackers to defeat a cryptog

CVE-2026-71257 HIGH
7.5 Aug 30

Per-file size and file-count upload limit enforcement in Apache Wicket 8.x through 10.x can be bypassed when a co-deploy

CVE-2026-43646 HIGH
7.5 May 06

Remote unauthenticated attackers can access restricted package resources in Apache Wicket 8.x through 10.x by crafting U

CVE-2021-23937 HIGH
7.5 May 25

A DNS proxy and possible amplification attack vulnerability in WebClientInfo of Apache Wicket allows an attacker to trig

CVE-2020-11976 HIGH
7.5 Aug 11

By crafting a special URL it is possible to make Wicket deliver unprocessed HTML templates. Rated high severity (CVSS 7.

CVE-2024-27439 MEDIUM
6.5 Mar 19

An error in the evaluation of the fetch metadata headers could allow a bypass of the CSRF protection in Apache Wicket.1.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy