CVE-2023-34464
mediumpriority · track · 22EPSS 0.007 · 53 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 5–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (14)
Products and version ranges known to be affected.
- xwiki xwiki-platformorg.xwiki.platform:xwiki-platform-web-templates 15.0-rc-1, → 15.1-rc-1enisa_euvdEU
- Maven org.xwiki.platform:xwiki-platform-web2.2.1 → 14.4.8osvUSpkg:maven/org.xwiki.platform/xwiki-platform-web
- Maven org.xwiki.platform:xwiki-platform-web-templates< 14.4.8osvUSpkg:maven/org.xwiki.platform/xwiki-platform-web-templates
- Maven org.xwiki.platform:xwiki-platform-web-templates14.5 → 14.10.5osvUSpkg:maven/org.xwiki.platform/xwiki-platform-web-templates
- Maven org.xwiki.platform:xwiki-platform-web-templates15.0-rc-1 → 15.1-rc-1osvUSpkg:maven/org.xwiki.platform/xwiki-platform-web-templates
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-fp7h-f9f5-x4q7XWiki vulnerable to stored cross-site scripting via any wiki document and the displaycontent/rendercontent template2023-06-20ghsa · osvUS
### Impact Any user who can edit a document in a wiki like the user profile can create a stored XSS attack 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. For example, edit any document with the wiki editor and set the content to `<script>alert(1)</script>` , save and then append the parameters `?viewer=displaycontent&sheet=&outputSyntax=plain`. If this displays an alert, the installation is vulnerable. 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. ### Patches 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. ### Workarounds The [patch](https://github.com/xwiki/xwiki-platform/commit/53e8292a31ec70fba5e1d705a4ac443658b9e6df#diff-e332fba67335bd2202bdac144be7cd244a16cef0ccee741f9c20025a981027d5) can be manually applied to the `rendercontent.vm` template in an existing installation to patch this vulnerability without upgrading. ### References * https://jira.xwiki.org/browse/XWIKI-20290 * https://github.com/xwiki/xwiki-platform/commit/53e8292a31ec70fba5e1d705a4ac443658b9e6df
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-34464/cnnvd
- https://github.com/xwiki/xwiki-platform/commit/53e8292a31ec70fba5e1d705a4ac443658b9e6dfcnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fp7h-f9f5-x4q7cnnvd
- https://jira.xwiki.org/browse/XWIKI-20290cnnvd
- https://github.com/xwiki/xwiki-platform/commit/53e8292a31ec70fba5e1d705a4ac443658b9e6dfenisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fp7h-f9f5-x4q7enisa_euvd
- https://jira.xwiki.org/browse/XWIKI-20290enisa_euvd
- https://github.com/xwiki/xwiki-platform/commit/53e8292a31ec70fba5e1d705a4ac443658b9e6dfPatchVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan