Lucene search

K
githubGitHub Advisory DatabaseGHSA-GJMQ-X5X7-WC36
HistorySep 16, 2022 - 5:39 p.m.

XWiki Platform vulnerable to Cross-site Scripting in the deleted attachments list

2022-09-1617:39:32
CWE-79
CWE-80
GitHub Advisory Database
github.com
21
xwiki platform
cross-site scripting
vulnerability
deleted attachments
patch
workaround
security advisory
jira xwiki.org
security mailing list
javascriptextension
commit.

CVSS3

9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

EPSS

0.002

Percentile

60.7%

Impact

It’s possible to store a JavaScript which will be executed by anyone viewing the deleted attachments index with an attachment containing javascript in its name.

For example, attachment a file with name &gt;<img src>.jpg will execute the alert.

Patches

This issue has been patched in XWiki 13.10.6 and 14.3.

Workarounds

It is possible to modify fix the vulnerability by editing the wiki page XWiki.DeletedAttachments with the object editor, open the JavaScriptExtension object and apply on the content the changes that can be found on the commit https://github.com/xwiki/xwiki-platform/commit/6705b0cd0289d1c90ed354bd4ecc1508c4b25745.

References

For more information

If you have any questions or comments about this advisory:

Affected configurations

Vulners
Node
org.xwiki.platformxwiki-platform-index-uiRange14.014.3
OR
org.xwiki.platformxwiki-platform-index-uiRange2.2-milestone-113.10.6
VendorProductVersionCPE
org.xwiki.platformxwiki-platform-index-ui*cpe:2.3:a:org.xwiki.platform:xwiki-platform-index-ui:*:*:*:*:*:*:*:*

CVSS3

9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

EPSS

0.002

Percentile

60.7%

Related for GHSA-GJMQ-X5X7-WC36