{"id":"GHSA-gwj6-xpfg-pxwr","summary":"XWiki Blog Application: Privilege Escalation (PR) from account through blog content","details":"### Impact\nThe 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.\n\n### Patches\nThe 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.\n\n### Workarounds\nWe're not aware of any workarounds.\n\n### Resources\n* https://jira.xwiki.org/browse/BLOG-191\n* https://github.com/xwiki-contrib/application-blog/commit/b98ab6f17da3029576f42d12b4442cd555c7e0b4","aliases":["CVE-2025-58365"],"modified":"2025-09-10T21:05:21Z","published":"2025-09-08T20:59:47Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-09-08T20:59:47Z","nvd_published_at":"2025-09-08T22:15:34Z","cwe_ids":["CWE-250","CWE-94","CWE-95"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/xwiki-contrib/application-blog/security/advisories/GHSA-gwj6-xpfg-pxwr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58365"},{"type":"WEB","url":"https://github.com/xwiki-contrib/application-blog/commit/b98ab6f17da3029576f42d12b4442cd555c7e0b4"},{"type":"PACKAGE","url":"https://github.com/xwiki-contrib/application-blog"},{"type":"WEB","url":"https://jira.xwiki.org/browse/BLOG-191"}],"affected":[{"package":{"name":"org.xwiki.contrib.blog:application-blog-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.contrib.blog/application-blog-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.14"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-gwj6-xpfg-pxwr/GHSA-gwj6-xpfg-pxwr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}