org.xwiki.platform:xwiki-platform-rendering-macro-rss Cross-site Scripting vulnerability
Impact
The RSS macro that is bundled in XWiki included the content of the feed items without any cleaning in the HTML output when the parameter content was set to true. This allowed arbitrary HTML and in particular also JavaScript injection and thus cross-site scripting (XSS) by specifying an RSS feed with malicious content. With the interaction of a user with programming rights, this could be used to execute arbitrary actions in the wiki, including privilege escalation, remote code execution, information disclosure, modifying or deleting content and sabotaging the wiki.
The issue can be reproduced by inserting the following XWiki syntax in any wiki page like the user account:
{{rss feed="https://xssrss.blogspot.com/feeds/posts/default?alt=rss" content="true" /}}
If an alert is displayed when viewing the page, the wiki is vulnerable.
Patches
The issue has been patched in XWiki 14.6 RC1, the content of the feed is now properly cleaned before being displayed.
Workarounds
If the RSS macro isn't used in the wiki, the macro can be uninstalled by deleting WEB-INF/lib/xwiki-platform-rendering-macro-rss-XX.jar, where XX is XWiki's version, in the web application's directory.
References
- https://github.com/xwiki/xwiki-platform/commit/5c7ebe47c2897e92d8f04fe2e15027e84dc3ec03
- https://jira.xwiki.org/browse/XWIKI-19671
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Java / Kotlin (Maven) | org.xwiki.platform:xwiki-core-rendering-macro-rss | >= 1.8, <= 3.0.1 | sin corrección |
| Java / Kotlin (Maven) | org.xwiki.platform:xwiki-platform-rendering-macro-rss | < 14.6-rc-1 | 14.6-rc-1 |
Referencias
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H- Debilidad (CWE)
CWE-79- Plataforma
- Java / Kotlin (Maven)
- Paquete
org.xwiki.platform:xwiki-core-rendering-macro-rss, org.xwiki.platform:xwiki-platform-rendering-macro-rss- Publicada
- 12.04.2023
- Actualizado
- 11.10.2026 11:21
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-c885-89fw-55qr - CC BY 4.0
Historial de vulnerabilidades: org.xwiki.platform:xwiki-platform-rendering-macro-rss
Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
Esta es la única vulnerabilidad conocida de este paquete.
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.