# CVE-2022-46907: Apache JSPWiki vulnerable to cross-site scripting on several plugins

Source: https://junglewise.ai/threats/cve-2022-46907-apache-jspwiki-vulnerable-to-cross-site-scripting-on-several  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-05-25  
License: CC BY 4.0 with a link back

CVE-2022-46907 · Severity: low · CVSS 3.1 · Published 2023-05-25

Apache JSPWiki vulnerable to cross-site scripting on several plugins

Technologies: [org.apache.jspwiki:jspwiki-main (Maven)](https://junglewise.ai/threats/technologies/org-apache-jspwiki-jspwiki-main), [org.apache.jspwiki:jspwiki-war (Maven)](https://junglewise.ai/threats/technologies/org-apache-jspwiki-jspwiki-war). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-46907 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-46907 being exploited in the wild.

**How severe is CVE-2022-46907?** Low severity, with a CVSS score of 3.1, published 25 May 2023.

**Which products and versions are affected?** org.apache.jspwiki:jspwiki-main (Maven) ECOSYSTEM:introduced=0,fixed=2.12.0; org.apache.jspwiki:jspwiki-war (Maven) ECOSYSTEM:introduced=0,fixed=2.12.0.

**Is there a fix for CVE-2022-46907?** Yes. org.apache.jspwiki:jspwiki-main (Maven): upgrade to 2.12.0 or later; org.apache.jspwiki:jspwiki-war (Maven): upgrade to 2.12.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-46907?** Check whether you run org.apache.jspwiki:jspwiki-main (Maven) or org.apache.jspwiki:jspwiki-war (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.jspwiki:jspwiki-main (Maven): upgrade to 2.12.0 or later

  ```sh
  # set org.apache.jspwiki:jspwiki-main to 2.12.0 in your pom.xml or build.gradle
  ```

- org.apache.jspwiki:jspwiki-war (Maven): upgrade to 2.12.0 or later

  ```sh
  # set org.apache.jspwiki:jspwiki-war to 2.12.0 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.jspwiki:jspwiki-main (Maven) ECOSYSTEM:introduced=0,fixed=2.12.0
- org.apache.jspwiki:jspwiki-war (Maven) ECOSYSTEM:introduced=0,fixed=2.12.0

## Identifiers

- CVE-2022-46907
- GHSA-qvq8-cw7f-m7m4

## Related threats

- [Apache JSPWiki Cross-Site Scripting (XSS) Vulnerability via Header Link Rendering](https://junglewise.ai/threats/cve-2025-24853-apache-jspwiki-cross-site-scripting-xss-vulnerability-via-header)
- [Apache JSPWiki Cross-Site Scripting (XSS) Vulnerability in the Image Plugin](https://junglewise.ai/threats/cve-2025-24854-apache-jspwiki-cross-site-scripting-xss-vulnerability-in-the)
- [Cross site scripting in Apache JSPWiki](https://junglewise.ai/threats/cve-2024-27136-cross-site-scripting-in-apache-jspwiki)
- [Apache JSPWiki CSRF due to crafted invocation on the Image plugin](https://junglewise.ai/threats/cve-2022-34158-apache-jspwiki-csrf-due-to-crafted-invocation-on-the-image-plugin)
- [Apache JSPWiki XSS due to crafted request on XHRHtml2Markup.jsp](https://junglewise.ai/threats/cve-2022-27166-apache-jspwiki-xss-due-to-crafted-request-on-xhrhtml2markup-jsp)
