---
id: "CVE-2026-82956"
kind: "vulnerability"
aliases: ["CVE-2026-82956"]
title: "Apache Wicket: remembered window name lets a page run attacker script"
severity: "high"
cvss: 7.6
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["apache-wicket", "java", "package", "web-apps"]
not_affected_if: ["behaviour-not-used", "outside-affected-version-ranges"]
published_at: "2026-11-01T23:17:29+00:00"
first_seen_at: "2026-11-01T23:22:39+00:00"
updated_at: "2026-11-01T23:23:22+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-82956", "first_seen_at": "2026-11-01T23:22:39+00:00"}]
---

# Apache Wicket: remembered window name lets a page run attacker script

Apache Wicket's AjaxNewWindowNotifyingBehavior stores the browser's window.name and writes it unescaped into page JavaScript. A crafted window name can break out of the string and run script in the application's origin on every render of that page.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Search the application source for `AjaxNewWindowNotifyingBehavior`; the issue only applies where it has been added to a component.
- Check the Wicket version in the build file against the affected ranges: `8.0.0` to `8.19.0`, `9.0.0` to `9.24.0`, `10.0.0` to `10.11.0`.

## Fix

- Apache Wicket `8.20.0`
- Apache Wicket `9.25.0`
- Apache Wicket `10.12.0`

## Timeline

- 2026-11-01T23:22:39+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-82956

## From the sources

Improper neutralization of input during web page generation in Apache Wicket.

org.apache.wicket.ajax.AjaxNewWindowNotifyingBehavior notices that a page instance has been opened in a second browser window or tab. It asks the browser for the value of window.name, which reaches the server as the request parameter windowName, and remembers what the browser reported in a field of the behaviour. That field is part of the page's serialized state, so the remembered value stays in the page store for as long as the page instance does.

On every later render of that page instance the behaviour builds the precondition of its Ajax call by substituting the remembered value into a single-quoted JavaScript string literal, and Wicket writes that precondition into the page as raw JavaScript, because the precondition of an Ajax call listener is script supplied by the caller and is emitted without quoting or escaping. Nothing on that path escapes the value. The window name is client-supplied and Wicket applies no validation to it, so a remembered name containing a single quote ends the literal and the rest of it runs as script in the application's origin, every time that page instance is rendered.

An application is affected only where it has explicitly added AjaxNewWindowNotifyingBehavior to a component. No part of the framework installs the behaviour, so an application that does not use it is not affected. The name the behaviour generates for itself, when the browser reports no name at all, is a random UUID and is not client-supplied.

This issue affects Apache Wicket: from 8.0.0 through 8.19.0, from 9.0.0 through 9.24.0, from 10.0.0 through 10.11.0.

Users are recommended to upgrade to version 8.20.0, 9.25.0 or 10.12.0, which fix the issue.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
