{"cve":"CVE-2022-41927","nvd":{"published":"2022-11-23T19:15:12.563","modified":"2026-06-17T05:04:04.697","status":"Modified","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 ```","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","score":7.4},"cwes":["CWE-352"],"references":["https://github.com/xwiki/xwiki-platform/commit/7fd4cda0590180c4d34f557597e9e10e263def9e","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mq7h-5574-hw9f","https://github.com/xwiki/xwiki-platform/commit/7fd4cda0590180c4d34f557597e9e10e263def9e","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mq7h-5574-hw9f"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-41927","score":0.00313,"percentile":0.24219,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mq7h-5574-hw9f","url":"https://osv.dev/vulnerability/GHSA-mq7h-5574-hw9f","summary":"Cross-Site Request Forgery (CSRF) allowing to delete or rename tags","modified":"2023-11-08T04:10:35.997468Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-tag-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-tag-ui","ranges":[">=3.2-milestone-2 <13.10.7"],"fixed":["13.10.7"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-tag-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-tag-ui","ranges":[">=14.0.0 <14.4.1"],"fixed":["14.4.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}