CVE-2026-78095 in JSPWiki
Summary
by MITRE • 11/25/2026
Cross Site Scripting in Markdown renderer in Apache JSPWIKI 2.4 through 3.0.0 on all platforms allows attacker to bypass html encoding techniques to potentially render raw html or javascript in the browser. Users are recommended to upgrade to version 3.0.1, which fixes this issue.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
Apache JSPWiki versions ranging from 2.4 through 3.0.0 contain a critical Cross-Site Scripting vulnerability within its Markdown rendering engine that allows attackers to bypass standard HTML encoding techniques. This flaw stems from an insufficient sanitization process where user-supplied input processed via the Markdown parser is not adequately escaped before being rendered in the web browser context. Consequently, malicious actors can inject raw HTML or JavaScript code into wiki pages, which are then executed by the browsers of other users who view these compromised pages. The vulnerability persists across all supported platforms due to a fundamental oversight in how the application handles untrusted data during the conversion from Markdown syntax to final HTML output.
The technical nature of this flaw involves a failure to properly neutralize special characters that have meaning within an HTML context, specifically those associated with script execution such as angle brackets and quotation marks. When a user inputs content containing malicious scripts wrapped in valid Markdown formatting, the renderer fails to encode these elements correctly. This allows the injected code to persist in the DOM of the rendered page rather than being displayed as plain text. The impact is significant because it enables session hijacking, credential theft, defacement of wiki pages, and potentially further attacks such as keylogging or redirection to malicious sites depending on what payload an attacker chooses to inject into the vulnerable rendering pipeline.
From a classification perspective, this vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. It also maps to MITRE ATT&CK technique T1059 Command and Control via Application Layer Protocol if used for exfiltration or T1189 Drive-by Client Compromise when leveraging the script execution for broader exploitation chains. The operational impact extends beyond simple defacement, as it compromises the integrity of collaborative content management systems where trust in displayed information is paramount. Users relying on these older versions face a persistent risk whenever untrusted users are permitted to edit or create wiki pages that utilize Markdown formatting features susceptible to this injection vector.
To mitigate this vulnerability and restore secure operations, organizations must immediately upgrade Apache JSPWiki to version 3.0.1 or later where the issue has been resolved through improved input validation and output encoding mechanisms. In environments where upgrading is not immediately feasible, administrators should consider implementing strict Content Security Policy headers to restrict script execution origins and disable Markdown rendering for untrusted users until patches can be applied. Regular security audits of wiki content and restricting editing permissions to authenticated and trusted individuals only further reduces the attack surface associated with this type of client-side injection flaw.