CVE-2026-76983 is an XSS in Apache Wicket's AutoLabelTextResolver that existed for roughly a decade (1.5.0 onward), and its significance lies not in the payload but in how it bypassed a framework-wide security control that developers had every reason to trust.
Wicket provides an escape-model-strings setting specifically to enforce consistent output encoding across an application. Every rendering path in the framework consults this setting—except one. The AutoLabelTextResolver ignored it entirely, meaning applications that enabled this setting believing they had universal protection were silently unprotected whenever setLabel() was used with dynamic content.
The CVSS 5.1 score reflects typical XSS impact but obscures a deeper architectural failure: the <wicket:label> tag serves two distinct purposes—rendering static markup in the body, and rendering dynamic text from models via setLabel(). These have different security requirements, but the resolver never distinguished between them. The "markup by design" documentation for the tag's body reinforced the assumption that it was for static content only, never signaling that model-derived labels would transit through the same rendering path unescaped.
Check your applications: if you use FormComponent.setLabel() with any model binding, verify that output is being escaped at the point of use—or that you are on a patched version. The fix appears to require a conditional: if the component has a label model, escape it; if not, render the body as-is. This is a narrow fix that requires no new configuration.
This vulnerability fits a documented pattern in framework security history—similar silent bypasses appear in Jenkins (CVE-2019-12402), Spring (CVE-2018-1000120), and Apache CXF (CVE-2017-7668). The common thread: security controls exist, one path ignores them, developers assume universal coverage. Audit your other rendering paths for similar silent exemptions—this one survived a decade, suggesting others may exist.