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

Published Jun 23, 2023
·
Updated

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.

Affected Software

3 affected components
XWiki xwiki>=2.2.1<14.4.8
XWiki xwiki>=14.10<14.10.5
XWiki xwiki=15.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade org.xwiki.platform:xwiki-platform-web to a version that resolves this vulnerability.

    Fixed in 14.4.8
  2. Upgrade

    Upgrade org.xwiki.platform:xwiki-platform-web to a version that resolves this vulnerability.

    Fixed in 14.10.5
  3. Upgrade

    Upgrade org.xwiki.platform:xwiki-platform-web to a version that resolves this vulnerability.

    Fixed in 15.1RC1
  4. Upgrade

    Upgrade org.xwiki.platform:xwiki-platform-web-templates to a version that resolves this vulnerability.

    Fixed in 14.4.8
  5. Upgrade

    Upgrade org.xwiki.platform:xwiki-platform-web-templates to a version that resolves this vulnerability.

    Fixed in 14.10.5
  6. Upgrade

    Upgrade org.xwiki.platform:xwiki-platform-web-templates to a version that resolves this vulnerability.

    Fixed in 15.1RC1
  7. Configuration

    Set the response content type to plain text when using the displaycontent/rendercontent templates if the output syntax is not an HTML syntax (this is the specific mitigation introduced in XWiki 14.4.8, 14.10.5, and 15.1RC1).

    XWiki displaycontent/rendercontent output Content-Type (response) when output syntax is not an HTML syntax = plain text

Event History

Jun 23, 2023
CVE Published
via MITRE·02:44 PM
Data Sourced
via MITRE·02:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-34464?

CVE-2023-34464 refers to a vulnerability in XWiki Platform, a generic wiki platform, that allows remote attackers to execute arbitrary code.

2

What is the severity of CVE-2023-34464?

The severity of CVE-2023-34464 is critical with a CVSS score of 5.4.

3

How does CVE-2023-34464 affect XWiki Platform?

CVE-2023-34464 affects XWiki Platform versions 2.2.1 to 14.4.8, 14.10.5, and 15.1RC1 of org.xwiki.platform:xwiki-platform-web, as well as any version prior to 14.4.8, 14.10.5, and 15.1.RC1 of org.xwiki.platform:xwiki-p.

4

How can I fix CVE-2023-34464 in XWiki Platform?

To fix CVE-2023-34464 in XWiki Platform, it is recommended to upgrade to version 14.4.8, 14.10.5, or 15.1RC1 of org.xwiki.platform:xwiki-platform-web or a version higher than 2.2.1 of org.xwiki.platform:xwiki-platform-web.

5

Are there any references for CVE-2023-34464?

Yes, you can find references for CVE-2023-34464 at the following links: [GitHub Commit](https://github.com/xwiki/xwiki-platform/commit/53e8292a31ec70fba5e1d705a4ac443658b9e6df), [GitHub Security Advisory](https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-fp7h-f9f5-x4q7), [XWiki Issue](https://jira.xwiki.org/browse/XWIKI-20290).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203