Skip to content

CVE-2023-29202 org.xwiki.platform:xwiki-platform-rendering-macro-rss Cross-site Scripting vulnerability

CriticalCVSS 9.0 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

XWiki Commons are technical libraries common to several other top level XWiki projects. The RSS macro that is bundled in XWiki included the content of the feed items without any cleaning in the HTML output when the parameter content was set to true. This allowed arbitrary HTML and in particular also JavaScript injection and thus cross-site scripting (XSS) by specifying an RSS feed with malicious content. With the interaction of a user with programming rights, this could be used to execute arbitrary actions in the wiki, including privilege escalation, remote code execution, information disclosure, modifying or deleting content and sabotaging the wiki. The issue has been patched in XWiki 14.6 RC1, the content of the feed is now properly cleaned before being displayed. As a workaround, if the RSS macro isn't used in the wiki, the macro can be uninstalled by deleting WEB-INF/lib/xwiki-platform-rendering-macro-rss-XX.jar, where XX is XWiki's version, in the web application's directory.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-core-rendering-macro-rss(Maven) >= 1.8, <= 3.0.1 after 3.0.1 Fixed
org.xwiki.platform/xwiki-platform-rendering-macro-rss(Maven) < 14.6-rc-1 14.6-rc-1 Fixed
xwiki = 1.8; = 1.8-rc1; = 1.8-rc2; >= 1.8, <= 14.5 after 14.5 Fixed
xwiki-platform = < 14.6-rc-1; = >= 1.8, <= 3.0.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-core-rendering-macro-rss(Maven) >= 1.8, <= 3.0.1 No fix listed
org.xwiki.platform/xwiki-platform-rendering-macro-rss(Maven) < 14.6-rc-1 14.6-rc-1
xwiki-platform = >= 1.8, <= 3.0.1 No fix listed
xwiki-platform = < 14.6-rc-1 No fix listed
xwiki >= 1.8, <= 14.5 No fix listed
xwiki = 1.8 No fix listed
xwiki = 1.8-rc1 No fix listed
xwiki = 1.8-rc2 No fix listed

References