Skip to content
High 7.4

Apache Wicketのリンク部品に、サイトを悪用するスクリプトを実行される脆弱性

CVE-2026-84231 First seen on SecPulse

Summary

ExternalLinkを a 以外のタグに関連付けた場合、URLの値が適切にエスケープされず、利用者がその要素を操作するとスクリプトが実行されることがあります。影響するのは8.0.0から8.19.0のApache Wicketです。修正版の情報は事実に含まれていないため、最新の情報を確認してください。

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.

ExternalLinkを a 以外のタグに関連付けた場合、URLの値が適切にエスケープされず、利用者がその要素を操作するとスクリプトが実行されることがあります。影響するのは8.0.0から8.19.0のApache Wicketです。修正版の情報は事実に含まれていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
Apache Software FoundationApache Wicket
8.0.0 – 8.19.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.markup.html.link.ExternalLink builds a JavaScript click handler and writes it into the tag's onclick attribute whenever the markup tag the component is bound to is not an a, link or area element. The URL held in the component's model is concatenated into a single-quoted JavaScript string literal in that handler without being escaped for that context. The same happens on the neighbouring branch, taken when popup settings are attached, where the value is concatenated into the window.open() call built by org.apache.wicket.markup.html.link.PopupSettings#getPopupJavaScript(). The only escaping applied is the markup escaping that every attribute value receives as the tag is written, which replaces an apostrophe with a character reference. A browser decodes character references in an attribute value before it compiles the event handler, so the apostrophe is restored, closes the string literal, and the rest of the model value is executed as script in the application's origin.

An application is affected where it binds an ExternalLink to a markup tag that is not an anchor, such as a button or a span, and the URL in the model holds data an attacker can influence, which is the ordinary use of the component rather than a misuse of it. Nothing runs until a user activates the element.

This issue affects Apache Wicket: from 8.0.0 through 8.19.0. Users of Apache Wicket 7.x or older, which are no…

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