CVE-2025-58365: XWiki Blog Application: Privilege Escalation (PR) from account through blog content
Impact The blog application in XWiki allowed remote code execution for any user who has edit right on any page. Normally, these are all logged-in users as they can edit their own user profile. To exploit, it is sufficient to add an object of type Blog.BlogPostClass to any page and to add some script macro with the exploit code to the "Content" field of that object.
Published Sep 8, 2025 · Updated Sep 10, 2025
Affected packages
org.xwiki.contrib.blog:application-blog-ui
- Ecosystem
- Maven
- Affected
- < 9.14
- Fixed in
- 9.14
- Check
mvn dependency:tree -Dincludes=org.xwiki.contrib.blog:application-blog-ui
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The blog application in XWiki allowed remote code execution for any user who has edit right on any page. Normally, these are all logged-in users as they can edit their own user profile. To exploit, it is sufficient to add an object of type Blog.BlogPostClass to any page and to add some script macro with the exploit code to the "Content" field of that object.
Patches
The vulnerability has been patched in the blog application version 9.14 by executing the content of blog posts with the rights of the appropriate author.
Workarounds
We're not aware of any workarounds.
Resources
- https://jira.xwiki.org/browse/BLOG-191
- https://github.com/xwiki-contrib/application-blog/commit/b98ab6f17da3029576f42d12b4442cd555c7e0b4
References
- https://github.com/xwiki-contrib/application-blog/security/advisories/GHSA-gwj6-xpfg-pxwr
- https://github.com/xwiki-contrib/application-blog/commit/b98ab6f17da3029576f42d12b4442cd555c7e0b4
- https://jira.xwiki.org/browse/BLOG-191
- https://nvd.nist.gov/vuln/detail/CVE-2025-58365
- https://github.com/advisories/GHSA-gwj6-xpfg-pxwr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
