Skip to content
High 7.4

Apache Wicketのスクリプト埋め込みに脆弱性、クロスサイトスクリプティングのおそれ

CVE-2026-83559 First seen on SecPulse

Summary

Apache Wicketの JavaScriptUtils#escapeQuotes は、バックスラッシュをエスケープしないため、特定の値を埋め込むと引用符が閉じられ、任意の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の JavaScriptUtils#escapeQuotes は、バックスラッシュをエスケープしないため、特定の値を埋め込むと引用符が閉じられ、任意の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 encoding or escaping of output in Apache Wicket.

org.apache.wicket.core.util.string.JavaScriptUtils#escapeQuotes() replaces each single quote in its input with a backslash and a single quote, and each double quote with a backslash and a double quote, so that the value can be placed inside a JavaScript string literal. It does not escape the backslash, which is the character that has to be escaped, and escaped first, for the rest of that escaping to hold. A value that already holds a backslash immediately before a quote therefore ends up with two backslashes in front of that quote: the first escapes the second, the quote itself is left unescaped, and it closes the literal. Whatever the value carries after that point is no longer text but JavaScript, and it runs in the application's origin and in the session of the user looking at the page. The method is public, is not deprecated, and its documentation states that its result can be part of a JavaScript call such as an alert; the only limitation it notes concerns JSON values, which need different escaping.

An application is affected wherever it calls the method itself and places the result inside a JavaScript string literal, from its own code or from a component of its own or of a third party, and the value it escapes holds data an attacker can influence. There is no further condition, and no component of Wicket has to be involved: the application is using the method for what its documentation offers, and the method do…

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