CVE-2022-36097

CVE-2022-36097 is a high-severity vulnerability in Xwiki with a CVSS 3.x base score of 8.9. Its EPSS exploit-prediction score of 57% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-79.

Key facts

Description

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.

Frequently asked questions

What is CVE-2022-36097?
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.
How severe is CVE-2022-36097?
CVE-2022-36097 has a CVSS 3.x base score of 8.9, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability low.
Is CVE-2022-36097 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 57% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2022-36097?
CVE-2022-36097 affects Xwiki. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2022-36097?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2022-36097 published?
CVE-2022-36097 was published on 2022-09-08 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Xwiki

All CVEs affecting Xwiki →

Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities

Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →