CVE-2026-42509: Apache Wicket Cross-site Scripting in web page generation

CVE-2026-42509 · Severity: medium · CVSS 6.1 · Published 2026-05-06

Apache Wicket, a popular Java framework for building web applications, is vulnerable to a security flaw that could allow attackers to run malicious scripts in a user's browser. This type of attack, known as Cross-Site Scripting (XSS), can be used to steal sensitive information like session cookies or perform actions on behalf of the user without their consent. Organizations using affected versions should update to the latest patched version to protect their users and data.

Technologies: Apache Wicket, Apache Software Foundation Wicket. Vendors: Apache, Apache Software Foundation, Maven.

Quick answers

Is CVE-2026-42509 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-42509 being exploited in the wild.
How severe is CVE-2026-42509?
Medium severity, with a CVSS score of 6.1, published 6 May 2026.
Which products and versions are affected?
Apache Software Foundation Wicket 8.0.0 through 8.17.0, 9.0.0 through 9.22.0, 10.0.0 through 10.8.0; org.apache.wicket:wicket-parent (Maven) ECOSYSTEM:introduced=8.0.0-M1,last_affected=8.17.0.
Is there a fix for CVE-2026-42509?
A patch was published on 2026-05-11: GitHub advisory reviewed and patch version confirmed. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-42509 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-42509?
Check whether you run Apache Wicket, Apache Software Foundation Wicket or org.apache.wicket:wicket-parent (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A Cross-Site Scripting (XSS) vulnerability exists in Apache Wicket due to improper neutralization of user-controllable input during web page generation (CWE-79). Specifically, crafted strings can break out of JavaScript sequences within the framework's output. The vulnerability is exploitable via the network without authentication, though it requires user interaction (UI:R) and results in a scope change (S:C). Attackers can leverage this to execute arbitrary JavaScript in the context of the victim's browser session. The issue is fixed in version 10.9.0.

Affected products

  • Apache Wicket 8.0.0 through 8.17.0, 9.0.0 through 9.22.0, 10.0.0 through 10.8.0

Identifiers

  • CVE-2026-42509
  • GHSA-5x9h-93gp-chpj

Timeline

  • 2026-05-06: disclosed
  • 2026-05-06: advisory
  • 2026-05-11: patched: GitHub advisory reviewed and patch version confirmed.

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.