# CVE-2023-37465: XWiki Discussion Extension CSRF in message deletion endpoint

Source: https://junglewise.ai/threats/cve-2023-37465-xwiki-discussion-extension-csrf-in-message-deletion-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-27. Updated: 2026-07-27  
License: CC BY 4.0 with a link back

CVE-2023-37465 · Severity: medium · CVSS 6.5 · Published 2026-07-27

A vulnerability in the XWiki Discussion Extension allows an attacker to trick a user into unintentionally deleting messages. This occurs because the application does not properly verify that a delete request was intentionally sent by the user. An exploit could lead to unauthorized data removal and disruption of forum discussions.

Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [Xwiki](https://junglewise.ai/threats/vendors/xwiki).

## Quick answers

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

**How severe is CVE-2023-37465?** Medium severity, with a CVSS score of 6.5, published 27 July 2026.

**Which products and versions are affected?** org.xwiki.contrib:discussions-server (Maven) < 2.0-rc-1, ECOSYSTEM:introduced=0,fixed=2.0-rc-1; Xwiki Discussions Server < 2.0-rc-1.

**Is there a fix for CVE-2023-37465?** Yes. org.xwiki.contrib:discussions-server (Maven): upgrade to 2.0-rc-1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2023-37465 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2023-37465?** Check whether you run org.xwiki.contrib:discussions-server (Maven) or Xwiki Discussions Server 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.xwiki.contrib:discussions-server (Maven): upgrade to 2.0-rc-1 or later

  ```sh
  # set org.xwiki.contrib:discussions-server to 2.0-rc-1 in your pom.xml or build.gradle
  ```


## Technical details

A Cross-Site Request Forgery (CSRF) vulnerability exists in the org.xwiki.contrib:discussions-server package. The root cause is that the message deletion endpoint is implemented using a GET request and lacks proper CSRF token validation. An attacker can exploit this by inducing an authenticated user to visit a malicious URL or web page, triggering a forged request that deletes messages on the user's behalf. This vulnerability is addressed in version 2.0-rc-1.

## Affected products

- XWiki Contrib discussions-server < 2.0-rc-1

## Identifiers

- CVE-2023-37465
- GHSA-4j38-rw27-97gx

## Timeline

- 2021-04-09: other: Issue reported in XWiki Jira
- 2021-10-25: patched: Issue resolved in Jira
- 2026-07-23: disclosed: GitHub Advisory published

## References

- [https://github.com/xwiki-contrib/application-discussions/security/advisories/GHSA-4j38-rw27-97gx](https://github.com/xwiki-contrib/application-discussions/security/advisories/GHSA-4j38-rw27-97gx)
- [https://jira.xwiki.org/browse/DISCUSSION-22](https://jira.xwiki.org/browse/DISCUSSION-22)
- [https://api.github.com/repos/xwiki-contrib/application-discussions/security-advisories/GHSA-4j38-rw27-97gx](https://api.github.com/repos/xwiki-contrib/application-discussions/security-advisories/GHSA-4j38-rw27-97gx)
