Skip to content
Vulnerability Intelligence

CVE-2022-36097

MediumPublic exploit

XWiki Platform Attachment UI vulnerable to cross-site scripting in the move attachment form

Published Sep 16, 2022 · Updated Aug 12, 2026 · Also known as GHSA-9r9j-57rf-f6vj

Key Facts

Patch immediately
  • CVE-2022-36097 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Xwiki, org.xwiki.platform:xwiki-platform-attachment-ui (maven), xwiki-platform.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 58% probability of exploitation in the next 30 days.
  • Fixed versions are available, including org.xwiki.platform:xwiki-platform-attachment-ui 14.4-rc-1, Xwiki 14.3.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

6.1

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

EPSS (30-day exploit likelihood)

58%

Higher than 99.0% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2022-36097 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
XwikiXwikiSee advisory14.3
org.xwiki.platform:xwiki-platform-attachment-uimaven>= 14.0-rc-114.4-rc-1
xwiki-platform>= >= 14.0-rc-1, < 14.4-rc-1n/a

Patched Releases

org.xwiki.platform:xwiki-platform-attachment-ui

14.4-rc-1

Xwiki

14.3

Timeline

  1. Publicly disclosed

    Sep 16, 2022

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

References

3 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-36097 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo