Improper neutralization of input during web page generation in Apache Wicket. (CVE-2026-76985)
Description
CVE-2026-76985 is a 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. It involves improper neutralization of input during web page generation when applications override certain methods to add attributes to <option> tags without proper escaping. This can lead to injection of unescaped data if the application returns attacker-controlled values. The issue is fixed in versions 8.19.0, 9.24.0, and 10.11.0.
CVSS v4.0
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from the AbstractOptions component in Apache Wicket, which escapes option ids and display values but writes additional attributes returned by overridden methods directly into <option> tags without escaping. Applications that override Palette.getAdditionalAttributesForChoices, Palette.getAdditionalAttributesForSelection, or AbstractOptions.getAdditionalAttributes and return attacker-influenced data are vulnerable. The default implementations return null, so only applications that override these methods improperly are affected. The recommended fix is to upgrade to Apache Wicket versions 8.19.0, 9.24.0, or 10.11.0, which address this issue by ensuring proper escaping.
Potential Impact
If exploited, this vulnerability could allow injection of unescaped data into web pages generated by Apache Wicket, potentially leading to cross-site scripting (XSS) attacks. However, only applications that override specific methods to add unescaped, attacker-controlled attributes are affected. Applications that do not override these methods are not vulnerable. There are no known exploits in the wild at this time.
Mitigation Recommendations
Users should upgrade Apache Wicket to versions 8.19.0, 9.24.0, or 10.11.0 where the issue is fixed. As a workaround, applications overriding the affected methods should ensure that any returned attribute values are properly escaped before being written into <option> tags. No other action is required for applications that do not override these methods.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-85wm-m62p-pph5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-76985"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a95bf02acd9273b49667764
Added to database: 08/31/2026, 17:50:58 UTC
Last enriched: 09/08/2026, 16:22:55 UTC
Last updated: 10/15/2026, 18:48:23 UTC
Views: 89
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.