GHSA-WCG9-PGQV-XM5V
XWiki Platform allows XSS through XClass name in string properties
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-WCG9-PGQV-XM5V divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
### Impact
Is it possible for a user without Script or Programming rights to craft a URL pointing to a page with arbitrary JavaScript.
This requires social engineer to trick a user to follow the URL.
Reproduction steps
- As a user without script or programming right, create a (non-terminal) document named `" + alert(1) + "` (the quotes need to be part of the name).
- Edit the class.
- Add a string property named `"test"`.
- Edit using the object editor and add an object of the created class
- Get an admin to open `<xwiki-server>/xwiki/bin/view/%22%20%2B%20alert(1)%20%2B%20%22/?viewer=display&type=object&property=%22%20%2B%20alert(1)%20%2B%20%22.WebHome.test&mode=edit` where `<xwiki-server>` is the URL of your XWiki installation.
### Patches
This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.
Workarounds
We're not aware of any workaround except upgrading.
### References
- https://jira.xwiki.org/browse/XWIKI-21810
- https://github.com/xwiki/xwiki-platform/commit/27eca8423fc1ad177518077a733076821268509c
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Mavenorg.xwiki.platform:xwiki-platform-oldcore |
Corregida | 14.10.21, 15.5.5, 15.10.6, 16.0.0 | — | — |
14.10.2115.5.515.10.616.0.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2024-43400https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wcg9-pgqv-xm5vhttps://github.com/xwiki/xwiki-platform/commit/27eca8423fc1ad177518077a733076821268509chttps://github.com/xwiki/xwiki-platformhttps://jira.xwiki.org/browse/XWIKI-21810Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
