CVE-2025-32974
JSON

9.1critical

org.xwiki.platform:xwiki-platform-security-requiredrights-default required rights analysis doesn't consider TextAreas with default content type

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mvgm-3rw2-7j4r

Description

XWiki is a generic wiki platform. In versions starting from 15.9-rc-1 to before 15.10.8 and from 16.0.0-rc-1 to before 16.2.0, the required rights analysis doesn't consider TextAreas with default content type. When editing a page, XWiki warns since version 15.9 when there is content on the page like a script macro that would gain more rights due to the editing. This analysis doesn't consider certain kinds of properties, allowing a user to put malicious scripts in there that will be executed after a user with script, admin, or programming rights edited the page. Such a malicious script could impact the confidentiality, integrity and availability of the whole XWiki installation. This issue has been patched in versions 15.10.8 and 16.2.0.

Affected

Product or packageVersionsReported by
xwiki xwiki-platform>= 15.9-rc-1, < 15.10.8, >= 16.0.0-rc-1, < 16.2.0CVE List
org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven)from 15.9-rc-1 before 15.10.8, from 16.0.0-rc-1 before 16.2.0GitHub Advisory Database
xwiki xwikifrom 15.9 before 15.10.8, from 16.0.0 before 16.2.0NVD

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
NVD9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Classification

CWE-116CWE-269

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

What each source says

CVE List

XWiki is a generic wiki platform. In versions starting from 15.9-rc-1 to before 15.10.8 and from 16.0.0-rc-1 to before 16.2.0, the required rights analysis doesn't consider TextAreas with default content type. When editing a page, XWiki warns since version 15.9 when there is content on the page like a script macro that would gain more rights due to the editing. This analysis doesn't consider certain kinds of properties, allowing a user to put malicious scripts in there that will be executed after a user with script, admin, or programming rights edited the page. Such a malicious script could impact the confidentiality, integrity and availability of the whole XWiki installation. This issue has been patched in versions 15.10.8 and 16.2.0.

GitHub Advisory Database
Impact

When editing a page, XWiki warns since version 15.9 when there is content on the page like a script macro that would gain more rights due to the editing. This analysis doesn't consider certain kinds of properties, allowing a user to put malicious scripts in there that will be executed after a user with script, admin, or programming rights edited the page. Such a malicious script could impact the confidentiality, integrity and availability of the whole XWiki installation.

To reproduce, as a user without script right, create a class with a TextArea property, create page with an object of that class and a Velocity macro in its content. Then, as an admin, try editing that page. Normally, there should be a warning but in vulnerable versions of XWiki, there is no warning.

Patches

This vulnerability has been patched in XWiki 15.10.8 and 16.2.0.

Workarounds

We're not aware of any workarounds apart from not editing pages that might have been edited by untrusted users as a user with script rights, e.g., by using separate user accounts for admin and non-admin tasks.

NVD (es)

XWiki es una plataforma wiki genérica. En las versiones 15.9-rc-1 y anteriores a la 15.10.8, y 16.0.0-rc-1 y anteriores a la 16.2.0, el análisis de permisos requeridos no considera las áreas de texto con el tipo de contenido predeterminado. Al editar una página, XWiki, desde la versión 15.9, advierte cuando hay contenido en la página, como una macro de script, que podría obtener más permisos debido a la edición. Este análisis no considera ciertos tipos de propiedades, lo que permite a un usuario introducir scripts maliciosos que se ejecutarán después de que un usuario con permisos de script, administrador o programación haya editado la página. Dicho script malicioso podría afectar la confidencialidad, la integridad y la disponibilidad de toda la instalación de XWiki. Este problema se ha corregido en las versiones 15.10.8 y 16.2.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-32974 changed 2025-04-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-mvgm-3rw2-7j4r changed 2025-04-30CC-BY-4.0
NVDCVE-2025-32974 changed 2026-06-17Public domain