{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-36097","published":"2022-09-08T21:15:08.020000Z","last_modified":"2026-06-17T04:52:54.823000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79","CWE-80"],"cpes":[{"criteria":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","part":"a","vendor":"xwiki","product":"xwiki","version_start_including":"14.0","version_end_excluding":"14.3"}],"cpes_truncated":false,"vendors":["xwiki"],"products":["xwiki/xwiki"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.01259,"percentile":0.69645,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-9r9j-57rf-f6vj","ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-attachment-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui","ranges":[{"introduced":"14.0-rc-1","fixed":"14.4-rc-1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-36097/","html_en":"/en/cve/CVE-2022-36097/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-36097","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-36097"},"untrusted":{"vendor_name":"Xwiki","product_name":"Xwiki","desc_en":"XWiki Platform Attachment UI provides a macro to easily upload and select attachments for XWiki Platform, a generic wiki platform. Starting with version 14.0-rc-1 and prior to 14.4-rc-1, it's possible to store JavaScript in an attachment name, which will be executed by anyone trying to move the corresponding attachment. This issue has been patched in XWiki 14.4-rc-1. As a workaround, one may copy `moveStep1.vm` to `webapp/xwiki/templates/moveStep1.vm` and replace vulnerable code with code from the patch.","affected":[{"untrusted_vendor":"xwiki","untrusted_product":"xwiki-platform","versions":[]}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/commit/fbc4bfbae4f6ce8109addb281de86a03acdb9277","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9r9j-57rf-f6vj","tags":["Exploit","Third Party Advisory"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19667","tags":["Exploit","Vendor Advisory"]},{"url":"https://raw.githubusercontent.com/xwiki/xwiki-platform/xwiki-platform-14.0-rc-1/xwiki-platform-core/xwiki-platform-attachment/xwiki-platform-attachment-api/src/main/resources/templates/attachment/moveStep1.vm","tags":["Exploit","Third Party Advisory"]}]}}