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 package | Versions | Reported by |
|---|---|---|
| xwiki xwiki-platform | >= 15.9-rc-1, < 15.10.8, >= 16.0.0-rc-1, < 16.2.0 | CVE 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.0 | GitHub Advisory Database |
| xwiki xwiki | from 15.9 before 15.10.8, from 16.0.0 before 16.2.0 | NVD |
All scores
| GitHub_M | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Classification
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
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mvgm-3rw2-7j4r | patch, vendor-advisory, web | |
| https://github.com/xwiki/xwiki-platform/commit/153dbfa2ef1a7a0a644fe3f889684c6a8738c5fc | patch, web | |
| https://jira.xwiki.org/browse/XWIKI-22002 | exploit, issue-tracking, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-32974 | advisory | |
| https://github.com/xwiki/xwiki-platform | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-32974 changed 2025-04-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mvgm-3rw2-7j4r changed 2025-04-30 | CC-BY-4.0 |
| NVD | CVE-2025-32974 changed 2026-06-17 | Public domain |