Skip to content
High 7.6

Apache Wicketに任意のスクリプトを実行される脆弱性、深刻度は高

CVE-2026-95863 First seen on SecPulse

Summary

Apache Wicketでは、コンポーネントIDやマークアップIDが生成されるJavaScriptにエスケープされずに書き込まれ、クロスサイトスクリプティングが起きるおそれがあります。影響を受けるのは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では、コンポーネントIDやマークアップIDが生成されるJavaScriptにエスケープされずに書き込まれ、クロスサイトスクリプティングが起きるおそれがあります。影響を受けるのは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.

Apache Wicket generates JavaScript that refers to the elements it renders, and
writes into that JavaScript two values it derives itself: a component's markup
id, and the input name of a form component, which is built from component ids.
Both are placed inside single-quoted JavaScript string literals without being
escaped for that context, so a value containing a single quote or a backslash
ends the literal, and what follows is parsed as script and runs in the
application's origin when the page loads.

A markup id is the value passed to org.apache.wicket.Component#setMarkupId(String),
or the id attribute written in the component's markup, or an id Wicket
generates, in that order. The first two are supplied by the application in an
HTML context, where both characters are legal and where Wicket escapes them
correctly when it writes the same value into the id attribute of the element; a
generated id cannot contain either. An input name is derived from the ids of the
components between the form and the form component, and a component id was
rejected only for ':' and '~'.

In org.apache.wicket:wicket-core on 9.x and 10.x,
org.apache.wicket.markup.head.OnEventHeaderItem#forMarkupId(String, String,
CharSequence) quotes the id it is given into a Wicket.Event.add call, and
components in both wicket-core and wicket-extensions reach it through
#forComponent(Component, String, CharSequence). On every affected v…

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