CVE-2026-75802
Apache Wicket: XSS in AjaxEditableLabel and its subclasses via IChoiceRenderer and defaultNullLabel
Description
AjaxEditableChoiceLabel in wicket-extensions, when constructed with a non-null IChoiceRenderer, writes the display value obtained from that renderer into the label's markup without applying the HTML escaping Wicket performs by default for component model values. An attacker who can influence the choice or model data rendered by such a label can inject HTML or script that executes in the browser of any user who views the page. The same value is correctly escaped when the component's dropdown editor renders it as an option, so only the label rendering is affected.
AjaxEditableLabel, AjaxEditableChoiceLabel and AjaxEditableMultiLineLabel write the value returned by the protected defaultNullLabel() method into the label's markup the same way when the component's model is empty, while the model value they show otherwise is escaped. The default implementation returns a constant, so an application is affected where it overrides that method and returns a value an attacker can influence.
Neither value could be escaped by configuration, because escapeModelStrings had no effect on any of the three components: it is read by the label they render with rather than by the component itself, and nothing carried the setting across.
This issue affects Apache Wicket: from 8.0.0 through 8.18.0, from 9.0.0 through 9.23.0, from 10.0.0 through 10.10.0. Older, unsupported releases are also affected; the display value from the renderer since 6.22.0 and the null label since 1.4.0. Users are recommended to upgrade to version 8.19.0, 9.24.0 or 10.11.0, which fix the issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.wicket » wicket-extensionspreliminary | >= 8.0.0, <= 8.18.0>= 9.0.0, <= 9.23.0>= 10.0.0, <= 10.10.0 | - |
Blast radius
65% of the dependent artifacts (353) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 3,253 |
| 2 hops | 9,350 |
| 3 hops | 3,222 |
| 4 hops | 553 |
| 5 hops | 49 |
| 6 hops | 64 |
Most used dependents
- org.geoserver.web » gs-web-core194 usages
- org.onehippo.cms7 » hippo-cms-api119 usages
- de.tudarmstadt.ukp.inception.app » inception-model90 usages
- de.tudarmstadt.ukp.inception.app » inception-support87 usages
- org.onehippo.cms7 » hippo-cms-engine78 usages
- de.tudarmstadt.ukp.inception.app » inception-api76 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-model71 usages
- de.agilecoders.wicket » wicket-bootstrap-core70 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-support61 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-api60 usages
- de.agilecoders.wicket » wicket-bootstrap-extensions59 usages
- de.tudarmstadt.ukp.inception.app » inception-api-annotation56 usages
- de.tudarmstadt.ukp.inception.app » inception-security53 usages
- org.apache.wicket » wicket-devutils50 usages
- de.tudarmstadt.ukp.inception.app » inception-api-schema50 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-75802 | github.com |
| Advisory | thread/lrmo7mddb4v4ffl36g5b9x8s40tbmw68 | lists.apache.org |
| Advisory | NVD CVE-2026-75802 | nvd.nist.gov |
| Web | lists/oss-security/2026/08/31/1 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
