Skip to content
High 7.6

Apache Wickettで任意のスクリプトを実行される脆弱性、AjaxNewWindowNotifyingBehavior経由

CVE-2026-82956 First seen on SecPulse

Summary

Apache WicketのAjaxNewWindowNotifyingBehaviorに、ブラウザーから送られるwindow.nameを適切に無害化せず埋め込む脆弱性(XSS)があります。影響を受けるのは8.0.0〜8.19.0、9.0.0〜9.24.0、10.0.0〜10.11.0です。この動作を追加しているアプリケーションだけが対象で、公開された情報では修正版は確認できませんでした。最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Apache WicketのAjaxNewWindowNotifyingBehaviorに、ブラウザーから送られるwindow.nameを適切に無害化せず埋め込む脆弱性(XSS)があります。影響を受けるのは8.0.0〜8.19.0、9.0.0〜9.24.0、10.0.0〜10.11.0です。この動作を追加しているアプリケーションだけが対象で、公開された情報では修正版は確認できませんでした。最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
Apache Software FoundationApache Wicket
8.0.0 – 8.19.0→ Not listed
9.0.0 – 9.24.0→ Not listed
10.0.0 – 10.11.0→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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, i…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details