{"id":"CVE-2024-43400","aliases":["CVE-2024-43400","GHSA-wcg9-pgqv-xm5v"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki Platform allows XSS through XClass name in string properties","summary":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It is possible for a user without Script or Programming rights to craft a URL pointing to a page with arbitrary JavaScript. This requires social engineer to trick a user to follow the URL. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It is possible for a user without Script or Programming rights to craft a URL pointing to a page with arbitrary JavaScript. This requires social engineer to trick a user to follow the URL. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.","source":"cvelist"},{"lang":"en","text":"### Impact\nIs it possible for a user without Script or Programming rights to craft a URL pointing to a page with arbitrary JavaScript.\nThis requires social engineer to trick a user to follow the URL.\n\n#### Reproduction steps\n\n1. As a user without script or programming right, create a (non-terminal) document named `\" + alert(1) + \"` (the quotes need to be part of the name).\n1. Edit the class.\n1. Add a string property named `\"test\"`.\n1. Edit using the object editor and add an object of the created class\n1. Get an admin to open `<xwiki-server>/xwiki/bin/view/%22%20%2B%20alert(1)%20%2B%20%22/?viewer=display&type=object&property=%22%20%2B%20alert(1)%20%2B%20%22.WebHome.test&mode=edit` where `<xwiki-server>` is the URL of your XWiki installation.\n\n### Patches\nThis has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.\n\n### Workarounds\n\nWe're not aware of any workaround except upgrading.\n\n### References\n- https://jira.xwiki.org/browse/XWIKI-21810\n- https://github.com/xwiki/xwiki-platform/commit/27eca8423fc1ad177518077a733076821268509c","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki Platform es una plataforma wiki genérica que ofrece servicios de ejecución para aplicaciones creadas sobre ella. Es posible que un usuario sin derechos de script o programación cree una URL que apunte a una página con JavaScript arbitrario. Esto requiere que un ingeniero social engañe al usuario para que siga la URL. Esto ha sido parcheado en XWiki 14.10.21, 15.5.5, 15.10.6 y 16.0.0.","source":"nvd"}],"published":"2024-08-19T16:24:40.900Z","modified":"2026-06-17T07:50:58.447Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-96"],"affected":[{"ranges":[{"version":">= 15.6-rc-1, < 15.10.2","status":"affected"},{"version":">= 15.0-rc-1, < 15.5.5","status":"affected"},{"version":"< 14.10.21","status":"affected"},{"version":"= 16.0.0-rc-1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"15.6-rc-1","fixed":"15.10.2","status":"affected"},{"type":"custom","introduced":"15.0-rc-1","fixed":"15.5.5","status":"affected"},{"type":"custom","introduced":"0","fixed":"14.10.21","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","cpe":"cpe:2.3:a:xwiki:xwiki-platform:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"16.0.0-rc-1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","cpe":"cpe:2.3:a:xwiki:xwiki-platform:16.0.0-rc-1:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.1.2","status":"affected","fixed":"14.10.21"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"15.0-rc-1","status":"affected","fixed":"15.5.5"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"15.6-rc-1","status":"affected","fixed":"15.10.6"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"16.0.0-rc-1","status":"affected","fixed":"16.0.0"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"14.10.21"},{"status":"affected","introduced":"15.0","fixed":"15.5.5"},{"status":"affected","introduced":"15.6","fixed":"15.10.6"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wcg9-pgqv-xm5v","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/27eca8423fc1ad177518077a733076821268509c","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21810","tags":["issue-tracking","vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43400","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-08-19T17:17:50.141Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-43400","url":"https://www.cve.org/CVERecord?id=CVE-2024-43400","licence":"CVE Terms of Use","modified":"2024-08-22T14:00:37.297Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wcg9-pgqv-xm5v","url":"https://github.com/advisories/GHSA-wcg9-pgqv-xm5v","licence":"CC-BY-4.0","modified":"2024-08-19T22:12:04.122Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-43400","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43400","licence":"Public domain","modified":"2026-06-17T07:50:58.447Z"}],"updatedAt":"2026-11-25T22:58:44.541Z","epss":{"score":0.00488,"percentile":0.43639,"date":"2026-12-01T12:00:22.000Z"}}