{"id":"CVE-2022-36094","published":"2022-09-08T20:10:09Z","modified":"2025-04-22T17:23:01Z","title":"XWiki Platform Web Parent POM vulnerable to XSS in the attachment history","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 1.0, < 13.10.6",">= 14.0, < 14.3-rc-1"]}],"description":{"text":"XWiki Platform Web Parent POM contains Web resources for the XWiki platform, a generic wiki platform. Starting with version 1.0 and prior to versions 13.10.6 and 14.30-rc-1, it's possible to store JavaScript which will be executed by anyone viewing the history of an attachment containing javascript in its name. This issue has been patched in XWiki 13.10.6 and 14.3RC1. As a workaround, it is possible to replace `viewattachrev.vm`, the entry point for this attack, by a patched version from the patch without updating XWiki.","provenance":"source","from":"CVE.org"},"summary":{"text":"A cross-site scripting flaw in the attachment history view of XWiki Platform's Web Parent POM (xwiki-platform) allows JavaScript stored in an attachment's name to execute for anyone who views that attachment's history. An attacker needs low-privileged authenticated access to upload an attachment with a script in its name, and exploitation requires a victim to view the attachment history.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:15:19Z"},"cvss":{"score":8.9,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.64794,"percentile":0.99242,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mxf2-4r22-5hq9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19612","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web","vulnerableRanges":[">=1.0, <13.10.6",">=14.0, <14.3-rc-1"],"patched":["13.10.6","14.3-rc-1"],"from":["GHSA-mxf2-4r22-5hq9"],"provenance":"source"}],"advisories":[{"id":"GHSA-mxf2-4r22-5hq9","url":"https://github.com/advisories/GHSA-mxf2-4r22-5hq9","severity":"HIGH","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web","vulnerableRanges":[">=1.0, <13.10.6"],"patched":["13.10.6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-mxf2-4r22-5hq9","url":"https://github.com/advisories/GHSA-mxf2-4r22-5hq9","severity":"HIGH","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web","vulnerableRanges":[">=14.0, <14.3-rc-1"],"patched":["14.3-rc-1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-6885","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-6885","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-36094","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":26.1,"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.85,"detail":"percentile 0.9924"},{"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.23,"detail":"base score 8.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2022-24820","published":"2022-04-08","fixed":"13.9","kev":false},{"cve":"CVE-2022-36091","published":"2022-09-08","fixed":"14.2","kev":false,"link":{"from":"CVE-2022-36091","to":"CVE-2022-36094","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-web","fromFixed":"14.2","toFixed":"14.3-rc-1","daysApart":0}]}},{"cve":"CVE-2022-36093","published":"2022-09-08","fixed":"14.3-rc-1","kev":false,"link":{"from":"CVE-2022-36093","to":"CVE-2022-36094","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-web","fromFixed":"13.10.5","toFixed":"13.10.6","daysApart":0}]}},{"cve":"CVE-2022-36094","published":"2022-09-08","fixed":"14.3-rc-1","kev":false},{"cve":"CVE-2023-34464","published":"2023-06-23","fixed":"14.4.8","kev":false},{"cve":"CVE-2023-29207","published":"2023-04-15","fixed":"14.9","kev":false,"link":{"from":"CVE-2022-36094","to":"CVE-2023-29207","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-web","fromFixed":"13.10.6","toFixed":"13.10.10","daysApart":219}]}},{"cve":"CVE-2023-26473","published":"2023-03-02","fixed":"14.10","kev":false}],"package":"Maven:org.xwiki.platform:xwiki-platform-web"}}