# CVE-2026-76986: Apache Wicket: XSS in AbstractSingleSelectChoice via getNullValidDisplayValue

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-08-31T13:25:10.416Z
- Modified: 2026-09-01T18:07:19.757Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

Improper neutralization of input during web page generation in Apache Wicket.

org.apache.wicket.markup.html.form.AbstractSingleSelectChoice, the base class of DropDownChoice, writes the body of the default option — the entry shown when no choice is selected — into the markup as it is, while every other option body in the same select is escaped according to the escape-model-strings setting. The body comes from getNullValidDisplayValue() or getNullKeyDisplayValue(), both of which are protected, so what they return is not necessarily the plain text the default implementation reads from a resource bundle.

An application is affected where it overrides one of those methods and returns a value holding data an attacker can influence, or where its own nullValid or null bundle entry holds such a value. The bundles shipped with Wicket contain plain text. RadioChoice overrides getDefaultChoice to emit no default option and is not affected.

As a workaround, escape the value in the override.

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 from 1.5.0 onwards are also affected. Users are recommended to upgrade to version 8.19.0, 9.24.0 or 10.11.0, which fix the issue.

(As written by CVE List.)

## Affected

- org.apache.wicket:wicket-core: from 8.0.0 up to 8.18.0; from 9.0.0 up to 9.23.0; from 10.0.0 up to 10.10.0
- apache wicket: from 8.0.0 before 8.19.0; from 9.0.0 before 9.24.0; from 10.0.0 before 10.11.0

## References

- <https://lists.apache.org/thread/4qltg6wckqz8wbs1f4jzqlc0yccpgvll> (mailing-list, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/08/31/6> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-76986](https://www.cve.org/CVERecord?id=CVE-2026-76986), CVE Terms of Use, modified 2026-08-31
- NVD: [CVE-2026-76986](https://nvd.nist.gov/vuln/detail/CVE-2026-76986), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-76986 · Whole record: https://cve.day/CVE-2026-76986.json · Rebuilt by cve.day 2026-11-25T22:59:35.834Z
