{"id":"CVE-2022-36100","published":"2022-09-08T21:10:10Z","modified":"2025-04-22T17:22:29Z","title":"XWiki Platform Applications Tag and XWiki Platform Tag UI vulnerable to Eval Injection","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 1.7, < 13.10.6",">= 14.0, < 14.4"]}],"description":{"text":"XWiki Platform Applications Tag and XWiki Platform Tag UI are tag applications for XWiki, a generic wiki platform. Starting with version 1.7 in XWiki Platform Applications Tag and prior to 13.10.6 and 14.4 in XWiki Platform Tag UI, the tags document `Main.Tags` in XWiki didn't sanitize user inputs properly. This allowed users with view rights on the document (default in a public wiki or for authenticated users on private wikis) to execute arbitrary Groovy, Python and Velocity code with programming rights. This also allowed bypassing all rights checks and thus both modification and disclosure of all content stored in the XWiki installation. The vulnerability could be used to impact the availability of the wiki. On XWiki versions before 13.10.4 and 14.2, this can be combined with CVE-2022-36092, meaning that no rights are required to perform the attack. The vulnerability has been patched in versions 13.10.6 and 14.4. As a workaround, the patch that fixes the issue can be manually applied to the document `Main.Tags` or the updated version of that document can be imported from version 14.4 of xwiki-platform-tag-ui using the import feature in the administration UI on XWiki 10.9 and later.","provenance":"source","from":"CVE.org"},"summary":{"text":"The XWiki Platform Tag UI and XWiki Platform Applications Tag (starting from version 1.7 and prior to 13.10.6 and 14.4 for Tag UI) contain an eval injection flaw in the Main.Tags document, where user input is not properly sanitised. An attacker with view rights on that document, which is granted by default on public wikis and to authenticated users on private ones, can execute arbitrary Groovy, Python and Velocity code with programming rights, bypassing rights checks to read or modify any content and potentially disrupt the wiki's availability, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:14:23Z"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.73608,"percentile":0.99468,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2g5c-228j-p52x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/604868033ebd191cf2d1e94db336f0c4d9096427","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19747","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-tag-ui","vulnerableRanges":["<13.10.6",">=14.0, <14.4"],"patched":["13.10.6","14.4"],"from":["GHSA-2g5c-228j-p52x"],"provenance":"source"},{"ecosystem":"Maven","package":"org.xwiki.platform.applications:xwiki-application-tag","vulnerableRanges":[">=1.7"],"patched":[],"from":["GHSA-2g5c-228j-p52x"],"provenance":"source"}],"advisories":[{"id":"GHSA-2g5c-228j-p52x","url":"https://github.com/advisories/GHSA-2g5c-228j-p52x","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-tag-ui","vulnerableRanges":["<13.10.6"],"patched":["13.10.6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-2g5c-228j-p52x","url":"https://github.com/advisories/GHSA-2g5c-228j-p52x","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform.applications:xwiki-application-tag","vulnerableRanges":[">=1.7"],"patched":[],"provenance":"source","from":"GHSA"},{"id":"GHSA-2g5c-228j-p52x","url":"https://github.com/advisories/GHSA-2g5c-228j-p52x","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-tag-ui","vulnerableRanges":[">=14.0, <14.4"],"patched":["14.4"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-6660","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-6660","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-09-08","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-36100","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":26.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.89,"detail":"percentile 0.9947"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.93,"detail":"base score 9.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-xwiki-platform-cve-2022-36100","children":[{"from":"CVE-2022-36100","to":"CVE-2022-41927","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-tag-ui","fromFixed":"13.10.6","toFixed":"13.10.7","daysApart":76},{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-tag-ui","fromFixed":"14.4","toFixed":"14.4.1","daysApart":76},{"kind":"same-code","provenance":"machine","files":["xwiki-platform-core/xwiki-platform-tag/xwiki-platform-tag-ui/src/main/resources/Main/Tags.xml"],"commits":["https://github.com/xwiki/xwiki-platform/commit/604868033ebd191cf2d1e94db336f0c4d9096427","https://github.com/xwiki/xwiki-platform/commit/7fd4cda0590180c4d34f557597e9e10e263def9e"],"basis":"rarely changed file"}]},{"from":"CVE-2022-36100","to":"CVE-2023-36468","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-2g5c-228j-p52x","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-8q9q-r9v2-644m","via":"reference","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2g5c-228j-p52x"}]}],"packageHistory":[{"cve":"CVE-2022-36100","published":"2022-09-08","fixed":"14.4","kev":false},{"cve":"CVE-2022-41927","published":"2022-11-23","fixed":"14.4.1","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-tag-ui"}}