{"cve":"CVE-2022-36098","nvd":{"published":"2022-09-08T21:15:08.097","modified":"2026-06-17T04:52:54.967","status":"Modified","description":"XWiki Platform Mentions UI is a user interface for mentioning users in wiki content for XWiki Platform, a generic wiki platform. Starting in version 12.5-rc-1 and prior to versions 13.10.6 and 14.4, it's possible to store Javascript or groovy scripts in a mention, macro anchor, or reference field. The stored code is executed by anyone visiting the page with the mention. This issue has been patched on XWiki 14.4 and 13.10.6. As a workaround, one may update `XWiki.Mentions.MentionsMacro` and edit the `Macro code` field of the `XWiki.WikiMacroClass` XObject.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-79"],"references":["https://github.com/xwiki/xwiki-platform/commit/4032dc896857597efd169966dc9e2752a9fdd459#diff-4fe22885f772e47d3561a05348f73921669ec12d4413b220383b73c7ae484bc4R608-R610","https://github.com/xwiki/xwiki-platform/commit/4f290d87a8355e967378a1ed6aee23a06ba162eb","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c5v8-2q4r-5w9v","https://jira.xwiki.org/browse/XWIKI-19752","https://github.com/xwiki/xwiki-platform/commit/4032dc896857597efd169966dc9e2752a9fdd459#diff-4fe22885f772e47d3561a05348f73921669ec12d4413b220383b73c7ae484bc4R608-R610"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-36098","score":0.71607,"percentile":0.99419,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-c5v8-2q4r-5w9v","url":"https://osv.dev/vulnerability/GHSA-c5v8-2q4r-5w9v","summary":"XWiki Platform Mentions UI vulnerable to Cross-site Scripting","modified":"2023-11-08T04:10:00.925468Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-mentions-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-mentions-ui","ranges":[">=12.5-rc-1 <13.10.6"],"fixed":["13.10.6"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-mentions-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-mentions-ui","ranges":[">=14.0 <14.4"],"fixed":["14.4"]}]}],"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."]}