# CVE-2025-58365: XWiki Blog Application: Privilege Escalation (PR) from account through blog content

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.07% (percentile 64, 2026-11-26)
- **CWE:** CWE-95
- **Aliases:** GHSA-gwj6-xpfg-pxwr
- **Published:** 2025-09-08T20:59:47.000Z
- **Modified:** 2026-06-17T09:44:22.050Z

## Who should check

- Projects that depend on Maven package org.xwiki.contrib.blog:application-blog-ui (\< 9.14)
- Anyone running xwiki-contrib application-blog \< 9.14

## Description

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.

## Affected and fixed versions

- Maven `org.xwiki.contrib.blog:application-blog-ui`: affected \< 9.14; fixed 9.14 (osv)
- xwiki-contrib application-blog: \< 9.14 (cvelist)

## Mitigation

- Upgrade org.xwiki.contrib.blog:application-blog-ui to 9.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-58365. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-58365.md
Affected: org.xwiki.contrib.blog:application-blog-ui < 9.14
Fixed in: 9.14

Steps:
1. Search this machine and project for org.xwiki.contrib.blog:application-blog-ui (Maven), xwiki-contrib application-blog: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-58365 being exploited?

There is no confirmed exploitation: CVE-2025-58365 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.07% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-58365?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-58365?

org.xwiki.contrib.blog:application-blog-ui \< 9.14.

### Is there a fix for CVE-2025-58365?

Yes. Fixed in 9.14. Upgrade org.xwiki.contrib.blog:application-blog-ui to 9.14 or later.

### How do I check if I'm affected by CVE-2025-58365?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/xwiki-contrib/application-blog/security/advisories/GHSA-gwj6-xpfg-pxwr>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-58365>
- patch: <https://github.com/xwiki-contrib/application-blog/commit/b98ab6f17da3029576f42d12b4442cd555c7e0b4>
- other: <https://jira.xwiki.org/browse/BLOG-191>
- other: <https://github.com/xwiki-contrib/application-blog>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-58365>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-gwj6-xpfg-pxwr> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-58365> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-58365>
