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

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 25% of CVEs (2026-11-30)
- Published: 2022-11-21T22:34:35.000Z
- Modified: 2026-06-17T05:04:04.697Z
- Also known as: GHSA-mq7h-5574-hw9f
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 3.2-milestone-2, < 13.10.7; >= 14.0.0, < 14.4.1
- org.xwiki.platform:xwiki-platform-tag-ui (Maven): from 3.2-milestone-2 before 13.10.7; from 14.0.0 before 14.4.1
- xwiki xwiki: from >3.2 before 13.10.7; 3.2; 14.4

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mq7h-5574-hw9f> (mitigation, patch, third-party-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/7fd4cda0590180c4d34f557597e9e10e263def9e> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41927> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2022-41927](https://www.cve.org/CVERecord?id=CVE-2022-41927), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-mq7h-5574-hw9f](https://github.com/advisories/GHSA-mq7h-5574-hw9f), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-41927](https://nvd.nist.gov/vuln/detail/CVE-2022-41927), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41927 · Whole record: https://cve.day/CVE-2022-41927.json · Rebuilt by cve.day 2026-11-25T22:58:16.879Z
