{ "schema_version": "1.4.0", "id": "GHSA-mxf2-4r22-5hq9", "modified": "2022-09-16T17:05:12Z", "published": "2022-09-16T17:05:12Z", "aliases": [ "CVE-2022-36094" ], "summary": "XWiki Platform Web Parent POM vulnerable to XSS in the attachment history", "details": "### Impact\n\nIt's possible to store a JavaScript which will be executed by anyone viewing the history of an attachment containing javascript in its name.\n\nFor example, attachment a file with name `>.jpg` will execute the alert.\n\n### Patches\n\nThis issue has been patched in XWiki 13.10.6 and 14.3RC1.\n\n### Workarounds\n\nIt is possible to replace viewattachrev.vm, the entry point for this attack, by a [patch](https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e)ed version from the patch without updating XWiki.\n\n### References\n\n* https://jira.xwiki.org/browse/XWIKI-19612\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)\n", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L" } ], "affected": [ { "package": { "ecosystem": "Maven", "name": "org.xwiki.platform:xwiki-platform-web" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "1.0" }, { "fixed": "13.10.6" } ] } ] }, { "package": { "ecosystem": "Maven", "name": "org.xwiki.platform:xwiki-platform-web" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "14.0" }, { "fixed": "14.3-rc-1" } ] } ] } ], "references": [ { "type": "WEB", "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mxf2-4r22-5hq9" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-36094" }, { "type": "WEB", "url": "https://github.com/xwiki/xwiki-platform/commit/047ce9fa4a7c13f3883438aaf54fc50f287a7e8e" }, { "type": "PACKAGE", "url": "https://github.com/xwiki/xwiki-platform" }, { "type": "WEB", "url": "https://jira.xwiki.org/browse/XWIKI-19612" } ], "database_specific": { "cwe_ids": [ "CWE-79", "CWE-80" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2022-09-16T17:05:12Z", "nvd_published_at": "2022-09-08T20:15:00Z" } }