{"id":"CVE-2025-58365","aliases":["CVE-2025-58365","GHSA-gwj6-xpfg-pxwr"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki Blog Application: Privilege Escalation (PR) from account through blog content","summary":"The XWiki blog application allows users of the XWiki platform to create and manage blog posts. Prior to version 9.14, 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. For an 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. 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. No known workarounds are available.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The XWiki blog application allows users of the XWiki platform to create and manage blog posts. Prior to version 9.14, 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. For an 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. 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. No known workarounds are available.","source":"cvelist"},{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"}],"published":"2025-09-08T20:59:47.000Z","modified":"2026-06-17T09:44:22.050Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-94","CWE-95","CWE-250"],"affected":[{"ranges":[{"version":"< 9.14","status":"affected"}],"vendor":"xwiki-contrib","product":"application-blog","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.14"}],"ecosystem":"Maven","package":"org.xwiki.contrib.blog:application-blog-ui","purl":"pkg:maven/org.xwiki.contrib.blog/application-blog-ui","source":"ghsa"}],"references":[{"url":"https://github.com/xwiki-contrib/application-blog/security/advisories/GHSA-gwj6-xpfg-pxwr","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki-contrib/application-blog/commit/b98ab6f17da3029576f42d12b4442cd555c7e0b4","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/BLOG-191","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58365","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki-contrib/application-blog","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-09-09T13:37:38.052Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58365","url":"https://www.cve.org/CVERecord?id=CVE-2025-58365","licence":"CVE Terms of Use","modified":"2025-09-09T13:37:45.479Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gwj6-xpfg-pxwr","url":"https://github.com/advisories/GHSA-gwj6-xpfg-pxwr","licence":"CC-BY-4.0","modified":"2025-09-10T21:05:21.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58365","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58365","licence":"Public domain","modified":"2026-06-17T09:44:22.050Z"}],"updatedAt":"2026-11-25T22:59:04.346Z","epss":{"score":0.00635,"percentile":0.51763,"date":"2026-12-01T12:00:22.000Z"}}