← Vulnerability feed

Vulnerability record · CVE-2023-32071 · published 9 May 2023

CVE-2023-32071: XWiki Platform stored XSS via crafted attachment URL

Xwiki · Xwiki

XWiki Platform allows JavaScript execution with the privileges of any user who is lured to a specially crafted URL targeting a page containing an attachment. The flaw affects versions from 2.2-milestone-1 up to, but not including, 14.4.8, 14.10.4, and 15.0-rc-1, and is patched in those releases. Because the injected script runs in the victim's session, it can act as that user across the wiki.

9.0 CVSS 3.1 Critical EPSS 70% · top 0.6% CWE-79 · Cross-site scriptingCWE-116 · CWE-116
9.0CVSS 3.1 base score
70%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References
17 Jun 2026Last modified by NVD

Description

XWiki Platform is a generic wiki platform. Starting in versions 2.2-milestone-1 and prior to versions 14.4.8, 14.10.4, and 15.0-rc-1, it's possible to execute javascript with the right of any user by leading him to a special URL on the wiki targeting a page which contains an attachment. This has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8. The easiest possible workaround is to edit file `<xwiki app>/templates/importinline.vm` and apply the modification described in commit 28905f7f518cc6f21ea61fe37e9e1ed97ef36f01.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityCritical CVSS score of 9.0 and very high EPSS probability, but exploitation requires a low-privileged account and victim interaction, and no KEV listing or known ransomware use is documented.

What it is

XWiki Platform allows JavaScript execution with the privileges of any user who is lured to a specially crafted URL targeting a page containing an attachment. The flaw affects versions from 2.2-milestone-1 up to, but not including, 14.4.8, 14.10.4, and 15.0-rc-1, and is patched in those releases. Because the injected script runs in the victim's session, it can act as that user across the wiki.

Impact

An attacker can execute arbitrary JavaScript in a victim's browser session, enabling actions such as reading or modifying wiki content, stealing session data, or performing privileged operations as the victim. The CVSS vector indicates high confidentiality, integrity, and availability impact with scope change.

Attack surface

Reached over the network via a crafted URL pointing to a wiki page that contains an attachment; the attacker needs a low-privileged account to place or reference the content, and the victim must click the link (user interaction required). No unauthenticated path is described.

Exploitation

Not listed in CISA KEV and no ransomware usage is documented, but EPSS is very high (0.70386, 99.35th percentile), indicating elevated likelihood of exploitation. References include a vendor advisory and patch commit but no public exploit tag.

What to do

  • Upgrade XWiki to 15.0-rc-1, 14.10.4, or 14.4.8 (or later) to apply the official fix.
  • If immediate upgrade is not possible, apply the workaround by editing templates/importinline.vm as described in commit 28905f7f518cc6f21ea61fe37e9e1ed97ef36f01.
  • Restrict who can create or upload attachments and pages to reduce the pool of low-privileged accounts that can stage the malicious URL.
  • Warn users not to follow unsolicited wiki links and consider content security policy or output encoding controls to limit script execution.

Detection

  • Monitor web logs for requests to wiki pages with attachment parameters containing script-like payloads or unusual encoding.
  • Review wiki audit logs for attachment uploads or page edits by low-privileged users followed by access to crafted URLs.
  • Search for anomalous JavaScript execution or session activity in browser-side telemetry tied to XWiki pages.
  • Check for unauthorized changes to templates/importinline.vm or other template files that could indicate workaround tampering.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-32071 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-24893XWiki SolrSearch unauthenticated remote code executionXWiki Platform's SolrSearch endpoint evaluates user-supplied search text as Groovy code, allowing arbitrary remote code execution. The flaw is reacha…KEVEPSS 100%analysed9.9CVE-2023-27479Xwiki injection vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with view righ…EPSS 1.1%9.8CVE-2024-31996Xwiki code injection vulnerabilityXWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, the HTML escaping of esca…EPSS 2.1%9.8CVE-2024-31982Xwiki code injection vulnerabilityXWiki Platform is a generic wiki platform. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, XWiki's databas…EPSS 35%9.8CVE-2024-21650XWiki user registration RCE via name fieldsXWiki Platform is vulnerable to remote code execution through its guest user registration feature. An attacker can inject malicious payloads into the…EPSS 93%analysed9.8CVE-2023-46731XWiki Platform unescaped URL parameter allows remote code executionXWiki Platform fails to properly escape the section URL parameter used when displaying administration sections, allowing injection of code such as Gr…EPSS 89%analysed9.8CVE-2023-26477XWiki Platform unauthenticated code injection via newThemeName parameterXWiki Platform versions from 6.3-rc-1 and 6.2.4 onward allow injection of arbitrary wiki syntax, including Groovy, Python and Velocity script macros,…EPSS 75%analysed9.8CVE-2022-29161Xwiki broken cryptographic algorithm vulnerabilityXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The XWiki Crypto API will generate X509 cert…EPSS 0.41%

Source: NIST National Vulnerability Database (record CVE-2023-32071), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.