Medium

Apache JSPWiki XSS due to incomplete patch for CVE-2021-40369

  • Disclosed: 05.08.2022
  • Updated: 11.10.2026 11:21

A carefully crafted request on AJAXPreview.jsp could trigger an XSS vulnerability on Apache JSPWiki, which could allow the attacker to execute javascript in the victim's browser and get some sensitive information about the victim. This vulnerability leverages CVE-2021-40369, where the Denounce plugin dangerously renders user-supplied URLs. Upon re-testing CVE-2021-40369, it appears that the patch was incomplete as it was still possible to insert malicious input via the Denounce plugin. Apache JSPWiki users should upgrade to 2.11.3 or later.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.jspwiki:jspwiki-main < 2.11.3 2.11.3

References

CVSS score 6.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Java / Kotlin (Maven)
Package
org.apache.jspwiki:jspwiki-main
Disclosed
05.08.2022
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-ggjq-8c4c-68r5 - CC BY 4.0

Vulnerability history: org.apache.jspwiki:jspwiki-main

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (18) in the archive
Total entries
18
First → latest
04.2019 07.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 2
  • Medium 15

Disclosures per year

  1. 2019: 4
  2. 2020: 0
  3. 2021: 2
  4. 2022: 8
  5. 2023: 1
  6. 2024: 1
  7. 2025: 2
  8. 2026: 0
Severity:
  1. High · 8.8 CVE-2022-34158 < 2.11.3 2.11.3
  2. Apache JSPWiki XSS due to incomplete patch for CVE-2021-40369 this entry
    Medium · 6.1 CVE-2022-28730 < 2.11.3 2.11.3
  3. High · 8.8 CVE-2022-24947 < 2.11.2 2.11.2
  4. Critical · 9.1 CVE-2021-44140 < 2.11.0 2.11.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.