# CVE-2023-34464: XWiki vulnerable to stored cross-site scripting via any wiki document and the displaycontent/rendercontent template

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-06-20T16:44:35.000Z
- Modified: 2026-06-17T06:03:42.373Z
- Also known as: GHSA-fp7h-f9f5-x4q7
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Starting in version 2.2.1 until versions 14.4.8, 14.10.5, and 15.1RC1 of org.xwiki.platform:xwiki-platform-web and any version prior to 14.4.8, 14.10.5, and 15.1.RC1 of org.xwiki.platform:xwiki-platform-web-templates, any user who can edit a document in a wiki like the user profile can create a stored cross-site scripting attack. The attack occurs by putting plain HTML code into that document and then tricking another user to visit that document with the `displaycontent` or `rendercontent` template and plain output syntax. If a user with programming rights is tricked into visiting such a URL, arbitrary actions be performed with this user's rights, impacting the confidentiality, integrity, and availability of the whole XWiki installation. This has been patched in XWiki 14.4.8, 14.10.5 and 15.1RC1 by setting the content type of the response to plain text when the output syntax is not an HTML syntax.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: org.xwiki.platform:xwiki-platform-web >= 2.2.1, < 14.4.8; org.xwiki.platform:xwiki-platform-web-templates < 14.4.8; org.xwiki.platform:xwiki-platform-web-templates >= 14.5, < 14.10.5; org.xwiki.platform:xwiki-platform-web-templates >= 15.0-rc-1, < 15.1-rc-1
- org.xwiki.platform:xwiki-platform-web (Maven): from 2.2.1 before 14.4.8
- org.xwiki.platform:xwiki-platform-web-templates (Maven): before 14.4.8; from 14.5 before 14.10.5; from 15.0-rc-1 before 15.1-rc-1
- xwiki xwiki: from 2.2.1 before 14.4.8; from 14.10 before 14.10.5; 15.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fp7h-f9f5-x4q7> (exploit, vendor-advisory, web)
- <https://jira.xwiki.org/browse/XWIKI-20290> (exploit, issue-tracking, patch, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/53e8292a31ec70fba5e1d705a4ac443658b9e6df> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34464> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2023-34464](https://www.cve.org/CVERecord?id=CVE-2023-34464), CVE Terms of Use, modified 2024-12-05
- GitHub Advisory Database: [GHSA-fp7h-f9f5-x4q7](https://github.com/advisories/GHSA-fp7h-f9f5-x4q7), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-34464](https://nvd.nist.gov/vuln/detail/CVE-2023-34464), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34464 · Whole record: https://cve.day/CVE-2023-34464.json · Rebuilt by cve.day 2026-11-25T22:58:25.159Z
