CVE-2026-125949: Apache JSPWiki: XSS in Markdown inline image rendering
Cross Site Scripting (XSS) in the Markdown renderer of Apache JSPWiki 2.11.0 through 3.0.0 on all platforms, when the Markdown syntax is enabled, allows an attacker who can edit a page to execute javascript in the browser of a visitor of that page. The text and the url of an inline image were written into the attributes of the img element without encoding. Users are recommended to upgrade to version 3.0.1, which fixes this issue. A fix was also backported to 2.12.6
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.12.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.0.1
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be able to edit a JSPWiki page. Exploitation occurs when a visitor views a page containing a malicious Markdown inline image.
Are all JSPWiki installations affected by default?
No. The issue affects JSPWiki versions 2.11.0 through 3.0.0 only when Markdown syntax is enabled.
Which versions address the vulnerability?
Upgrade to JSPWiki 3.0.1. The fix is also available in the 2.12.6 backport.