Live threats

All CVEs / Xwiki

CVE-2022-36097Xwiki

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Sep 8, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-80
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

XWiki Platform Attachment UI provides a macro to easily upload and select attachments for XWiki Platform, a generic wiki platform. Starting with version 14.0-rc-1 and prior to 14.4-rc-1, it's possible to store JavaScript in an attachment name, which will be executed by anyone trying to move the corresponding attachment. This issue has been patched in XWiki 14.4-rc-1. As a workaround, one may copy `moveStep1.vm` to `webapp/xwiki/templates/moveStep1.vm` and replace vulnerable code with code from the patch.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xwiki.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.xwiki.platform:xwiki-platform-attachment-ui ≥ 14.0-rc-1 < 14.4-rc-1 14.4-rc-1 —

Per OSV / GitHub Advisories (GHSA-9r9j-57rf-f6vj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xwikixwiki≥ 14.0 < 14.3

Official sources

References

Links published by the sources. Open them with care.