Lucene search

K
osvGoogleOSV:GHSA-692V-783F-MG8X
HistoryJul 31, 2024 - 4:54 p.m.

XWiki Platform vulnerable to Cross-Site Scripting (XSS) through conflict resolution

2024-07-3116:54:36
Google
osv.dev
6
xwiki platform
cross-site scripting
vulnerability
conflict resolution
confidentiality
integrity
availability
patch
upgrading
advisory
jira xwiki.org
security mailing list
software

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

AI Score

9.2

Confidence

High

EPSS

0.002

Percentile

54.7%

Impact

By creating a conflict when another user with more rights is currently editing a page, it is possible to execute JavaScript snippets on the side of the other user, which compromises the confidentiality, integrity and availability of the whole XWiki installation.

To reproduce on a XWiki instance, a user with admin rights needs to edit a document without saving right away.
Then, as another user without any other right than edit on the specific document, change the whole content to <script>alert('XSS')</script>.
When the admin user then saves the document, a conflict popup appears. If they select “Fix each conflict individually” and see an alert displaying “XSS”, then the instance is vulnerable.

Patches

This has been patched in XWiki 15.10.8 and 16.3.0RC1.

Workarounds

We’re not aware of any workaround except upgrading.

References

For more information

If you have any questions or comments about this advisory:

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

AI Score

9.2

Confidence

High

EPSS

0.002

Percentile

54.7%

Related for OSV:GHSA-692V-783F-MG8X