{"id":"GHSA-ph5x-h23x-7q5q","summary":"Cross-site Scripting in wiki manager join wiki page","details":"### Impact\nWe found a possible XSS vector in the `WikiManager.JoinWiki ` wiki page related to the \"requestJoin\" field.\n\n### Patches\nThe issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, 13.10.3.\n\n### Workarounds\nThe easiest workaround is to edit the wiki page `WikiManager.JoinWiki` (with wiki editor) and change the line\n\n```\n\u003cinput type='hidden' name='requestJoin' value=\"$!request.requestJoin\"/\u003e\n```\n\ninto\n\n```\n\u003cinput type='hidden' name='requestJoin' value=\"$escapetool.xml($!request.requestJoin)\"\u003e\n```\n\n### References\n  * https://jira.xwiki.org/browse/XWIKI-19292\n  * https://github.com/xwiki/xwiki-platform/commit/27f839133d41877e538d35fa88274b50a1c00b9b\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki](https://jira.xwiki.org)\n* Email us at [security mailing list](mailto:security@xwiki.org)","aliases":["CVE-2022-29252"],"modified":"2023-11-01T04:58:44.082598Z","published":"2022-05-25T22:41:10Z","database_specific":{"nvd_published_at":"2022-05-25T21:15:00Z","cwe_ids":["CWE-116","CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-05-25T22:41:10Z"},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ph5x-h23x-7q5q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29252"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/27f839133d41877e538d35fa88274b50a1c00b9b"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19292"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-wiki-ui-mainwiki"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.10.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-ph5x-h23x-7q5q/GHSA-ph5x-h23x-7q5q.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-wiki-ui-mainwiki"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.0.0"},{"fixed":"13.4.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-ph5x-h23x-7q5q/GHSA-ph5x-h23x-7q5q.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-wiki-ui-mainwiki"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.5.0"},{"fixed":"13.10.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-ph5x-h23x-7q5q/GHSA-ph5x-h23x-7q5q.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"}]}