CVE-2024-41947
JSON

9.1critical

XWiki Platform XSS through conflict resolution

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
3.84% (higher than 91% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-692v-783f-mg8x

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. 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. This has been patched in XWiki 15.10.8 and 16.3.0RC1.

Affected

Product or packageVersionsReported by
xwiki xwiki-platform>= 11.8-rc-1, < 15.10.8, >= 16.0.0-rc-1, < 16.3.0-rc-1CVE List
xwiki xwikifrom 11.8-rc-1 before 15.10.8, from 16.0.0-rc-1 before 16.3.0-rc-1, from 11.8 before 15.10.8, from 16.0 before 16.3.0CVE List, NVD
org.xwiki.platform:xwiki-platform-web-templates (Maven)from 11.8-rc-1 before 15.10.8, from 16.0.0-rc-1 before 16.3.0-rc-1GitHub Advisory Database

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-80

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. 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. This has been patched in XWiki 15.10.8 and 16.3.0RC1.

GitHub Advisory Database
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:

NVD (es)

XWiki Platform es una plataforma wiki genérica que ofrece servicios de ejecución para aplicaciones creadas sobre ella. Al crear un conflicto cuando otro usuario con más derechos está editando una página, es posible ejecutar fragmentos de JavaScript del otro usuario, lo que compromete la confidencialidad, integridad y disponibilidad de toda la instalación de XWiki. Esto ha sido parcheado en XWiki 15.10.8 y 16.3.0RC1.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-41947 changed 2024-08-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-692v-783f-mg8x changed 2024-07-31CC-BY-4.0
NVDCVE-2024-41947 changed 2026-06-17Public domain