← Vulnerability feed

Vulnerability record · CVE-2022-36094 · published 8 September 2022

CVE-2022-36094: XWiki Platform stored XSS via attachment history view

Xwiki · Xwiki

XWiki Platform versions from 1.0 up to 13.10.6 and 14.3RC1 allow stored JavaScript to be executed when a user views the history of an attachment whose filename contains JavaScript. The flaw is a cross-site scripting issue in the viewattachrev.vm entry point, and it matters because the script runs in the context of any user viewing that history page.

9.0 CVSS 3.1 Critical EPSS 65% · top 0.8% CWE-79 · Cross-site scriptingCWE-80 · CWE-80
9.0CVSS 3.1 base score
65%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

XWiki Platform Web Parent POM contains Web resources for the XWiki platform, a generic wiki platform. Starting with version 1.0 and prior to versions 13.10.6 and 14.30-rc-1, it's possible to store JavaScript which will be executed by anyone viewing the history of an attachment containing javascript in its name. This issue has been patched in XWiki 13.10.6 and 14.3RC1. As a workaround, it is possible to replace `viewattachrev.vm`, the entry point for this attack, by a patched version from the patch without updating XWiki.

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 and very high EPSS with a public exploit reference, but exploitation requires a low-privileged attacker and victim interaction, and no KEV listing is present.

What it is

XWiki Platform versions from 1.0 up to 13.10.6 and 14.3RC1 allow stored JavaScript to be executed when a user views the history of an attachment whose filename contains JavaScript. The flaw is a cross-site scripting issue in the viewattachrev.vm entry point, and it matters because the script runs in the context of any user viewing that history page.

Impact

An attacker can execute arbitrary JavaScript in the victim's browser session, potentially stealing session cookies, performing actions as the victim, or exfiltrating data accessible to that user. The CVSS vector indicates high confidentiality, integrity, and availability impact within a changed scope.

Attack surface

The attack is network-reachable and requires the attacker to have low privileges to store the malicious attachment name, while the victim must view the attachment history (user interaction required). No authentication is needed for the victim beyond being able to access the history page.

Exploitation

No CISA KEV listing is present, but EPSS is 0.64098 (99.188th percentile) and a vendor Jira reference is tagged as Exploit, indicating public exploit information exists.

What to do

  • Upgrade XWiki to 13.10.6 or 14.3RC1 or later.
  • If immediate upgrade is not possible, replace viewattachrev.vm with the patched version from the vendor patch.
  • Restrict attachment upload and history-viewing permissions to trusted users until patched.
  • Review attachment names for embedded JavaScript and remove or rename suspicious attachments.

Detection

  • Search web server and application logs for requests to viewattachrev.vm with attachment names containing script-like patterns.
  • Monitor for attachment uploads or renames where the filename contains HTML or JavaScript syntax.
  • Inspect XWiki audit logs for unexpected attachment history views by low-privileged accounts.

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-2022-36094 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-2022-36094), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.