Skip to content

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

MediumCVSS 5.4 EPSS 0.71%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-web(Maven) >= 2.2.1, < 14.4.8 14.4.8 Fixed
org.xwiki.platform/xwiki-platform-web-templates(Maven) < 14.4.8; >= 14.5, < 14.10.5; >= 15.0-rc-1, < 15.1-rc-1 14.4.8, 14.10.5, 15.1-rc-1 Fixed
xwiki = 15.0; >= 2.2.1, < 14.4.8; >= 14.10, < 14.10.5 14.4.8, 14.10.5 Fixed
xwiki-platform = 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 >= 2.2.1, < 14.4.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-web(Maven) >= 2.2.1, < 14.4.8 14.4.8
org.xwiki.platform/xwiki-platform-web-templates(Maven) < 14.4.8 14.4.8
org.xwiki.platform/xwiki-platform-web-templates(Maven) >= 14.5, < 14.10.5 14.10.5
org.xwiki.platform/xwiki-platform-web-templates(Maven) >= 15.0-rc-1, < 15.1-rc-1 15.1-rc-1
xwiki-platform = org.xwiki.platform:xwiki-platform-web >= 2.2.1, < 14.4.8 No fix listed
xwiki-platform = org.xwiki.platform:xwiki-platform-web-templates < 14.4.8 No fix listed
xwiki-platform = org.xwiki.platform:xwiki-platform-web-templates >= 14.5, < 14.10.5 No fix listed
xwiki-platform = org.xwiki.platform:xwiki-platform-web-templates >= 15.0-rc-1, < 15.1-rc-1 No fix listed
xwiki >= 2.2.1, < 14.4.8 14.4.8
xwiki >= 14.10, < 14.10.5 14.10.5
xwiki = 15.0 No fix listed

References