Technical impact
Apache Wicket’s ExternalLink component can embed a user‑controlled URL inside a JavaScript click handler when the element is bound to a tag other than an <a>. The component concatenates the URL into a single‑quoted JavaScript string without proper escaping, allowing an attacker to inject arbitrary JavaScript that executes in the application’s origin when a user clicks the element. This reflected XSS flaw can lead to session hijacking, data theft, or defacement. The flaw is triggered only when the element is activated, so an attacker must craft a link that is interacted with by a target user.
Affected Systems
Apache Software Foundation: Apache Wicket versions 8.0.0 through 8.19.0 are affected. Versions 7.x and older are no longer supported and should be upgraded. Updating to 8.20.0 or later resolves the issue.
Risk and Exploitability
The vulnerability carries a CVSS score of 7.4, indicating high risk, and is not listed in the CISA KEV catalog. Because the flaw requires a client to click a malicious link, exploitation depends on user interaction but still offers the attacker the ability to run code in the user’s browser connected to the application’s origin. No EPSS score is available, so the probability of exploitation is unknown, but the high severity score and lack of mitigation in affected releases mean the risk is significant.