CVE-2025-58365: XWiki Blog Application: Privilege Escalation (PR) from account through blog content
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.
References
- github.com/advisories/GHSA-gwj6-xpfg-pxwr
- github.com/xwiki-contrib/application-blog
- github.com/xwiki-contrib/application-blog/commit/b98ab6f17da3029576f42d12b4442cd555c7e0b4
- github.com/xwiki-contrib/application-blog/security/advisories/GHSA-gwj6-xpfg-pxwr
- jira.xwiki.org/browse/BLOG-191
- nvd.nist.gov/vuln/detail/CVE-2025-58365
Code Behaviors & Features
Detect and mitigate CVE-2025-58365 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →