CVE-2026-76982: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Apache Software Foundation Apache Wicket
Description
CVE-2026-76982 is a cross-site scripting (XSS) vulnerability in Apache Wicket affecting versions from 8.0.0 through 8.18.0, 9.0.0 through 9.23.0, and 10.0.0 through 10.10.0. The issue arises because the Button component clears the escape-model-strings flag for attribute encoding but does not encode the element body when rendering a <button> element, allowing unescaped markup from the model to be rendered. This can lead to XSS if an attacker can influence the model data rendered inside a <button> element. The vulnerability affects Button and its subclasses AjaxButton, AjaxFallbackButton, and WizardButton. Users are recommended to upgrade to fixed versions 8.19.0, 9.24.0, or 10.11.0.
CVSS v4.0
Score 5.1medium
Affected software
Apache Software Foundation
Apache Wicket
pkg:maven/Apache Software Foundation/org.apache.wicket:wicket-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache Wicket's Button component disables escaping of model strings for attribute values to avoid double encoding, but when rendering as a <button> element, it writes the model content into the element body without encoding. This improper neutralization of input during web page generation leads to a cross-site scripting vulnerability (CWE-79) if the model data can be attacker-controlled. The flaw affects Apache Wicket versions 8.0.0 through 8.18.0, 9.0.0 through 9.23.0, and 10.0.0 through 10.10.0, including older unsupported releases from 6.25.0 and 7.5.0 onwards. The vulnerability impacts Button and its subclasses AjaxButton, AjaxFallbackButton, and WizardButton. The recommended fix is to upgrade to versions 8.19.0, 9.24.0, or 10.11.0 where the issue is resolved. Alternatively, a workaround is to call setEscapeModelStrings(true) on buttons rendered as <button> elements to ensure proper escaping without double encoding.
Potential Impact
An attacker who can influence the model data rendered inside a <button> element can inject malicious markup, leading to cross-site scripting (XSS). This can result in execution of arbitrary scripts in the context of the affected web application, potentially compromising user sessions or performing unauthorized actions. The vulnerability requires that the application renders a Button on a <button> element and that the model data is attacker-controllable. The CVSS 4.0 score is 5.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required but user interaction needed, and limited scope and impact.
Mitigation Recommendations
Users should upgrade Apache Wicket to versions 8.19.0, 9.24.0, or 10.11.0 where this vulnerability is fixed. As a workaround, calling setEscapeModelStrings(true) on Button components rendered as <button> elements will correctly escape the element body and prevent XSS without causing double encoding. No other official remediation level or patch information is provided, so users should rely on upgrading or applying the workaround.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-08-20T06:50:15.755Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a956e9aacd9273b4910a0d0
Added to database: 08/31/2026, 12:07:54 UTC
Last enriched: 09/07/2026, 15:53:28 UTC
Last updated: 10/13/2026, 18:48:23 UTC
Views: 77
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.