Skip to content

CVE-2022-41927 XWiki Platform vulnerable to Cross-Site Request Forgery (CSRF) allowing to delete or rename tags

HighCVSS 7.4 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

XWiki Platform is vulnerable to Cross-Site Request Forgery (CSRF) that may allow attackers to delete or rename tags without needing any confirmation. The problem has been patched in XWiki 13.10.7, 14.4.1 and 14.5RC1. Workarounds: It's possible to patch existing instances directly by editing the page Main.Tags and add this kind of check, in the code for renaming and for deleting: #if (!$services.csrf.isTokenValid($request.get('form_token'))) #set ($discard = $response.sendError(401, "Wrong CSRF token")) #end

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-tag-ui(Maven) >= 3.2-milestone-2, < 13.10.7; >= 14.0.0, < 14.4.1 13.10.7, 14.4.1 Fixed
xwiki = 3.2-milestone2; = 3.2-milestone3; = 14.4; >= 3.2, < 13.10.7 13.10.7 Fixed
xwiki-platform = >= 3.2-milestone-2, < 13.10.7; = >= 14.0.0, < 14.4.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-tag-ui(Maven) >= 3.2-milestone-2, < 13.10.7 13.10.7
org.xwiki.platform/xwiki-platform-tag-ui(Maven) >= 14.0.0, < 14.4.1 14.4.1
xwiki-platform = >= 3.2-milestone-2, < 13.10.7 No fix listed
xwiki-platform = >= 14.0.0, < 14.4.1 No fix listed
xwiki >= 3.2, < 13.10.7 13.10.7
xwiki = 3.2-milestone2 No fix listed
xwiki = 3.2-milestone3 No fix listed
xwiki = 14.4 No fix listed

References