Security mailing lists by PureSourceCode

CVE-2022-36097

MEDIUM 6.1CVSS 3.1

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

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.

Published
8 Sep 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79CWE-80
Also known as
GHSA-9r9j-57rf-f6vj
Sources
NVDJSONOSV GHSA-9r9j-57rf-f6vjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 8.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
>= 14.0, < 14.3 14.3
OSV Maven org.xwiki.platform:xwiki-platform-attachment-ui >= 14.0-rc-1, < 14.4-rc-1 14.4-rc-1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 8 Sep 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.