Skip to main content
← All vulnerabilities
CVE-2022-41927GHSA-MQ7H-5574-HW9F

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 13.10.7, 14.4.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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 ```

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • xwiki xwiki-platform

    From 3.2-milestone-2 · fixed in 13.10.7; From 14.0.0 · fixed in 14.4.1

  • org.xwiki.platform:xwiki-platform-tag-uiMaven

    From 3.2-milestone-2 · fixed in 13.10.7

  • org.xwiki.platform:xwiki-platform-tag-uiMaven

    From 14.0.0 · fixed in 14.4.1

References 2

GitHub · xwiki/xwiki-platform