{"id":"CVE-2021-29459","aliases":["CVE-2021-29459","GHSA-5c66-v29h-xjh8"],"related":[],"kind":"vulnerability","state":"published","title":"XSS Cross Site Scripting","summary":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It is possible to persistently inject scripts in XWiki versions prior to 12.6.3 and 12.8. Unregistred users can fill simple text fields. Registered users can fill in their personal information and (if they have edit rights) fill the values of static lists using App Within Minutes. There is no easy workaround except upgrading XWiki. The vulnerability has been patched on XWiki 12.8 and 12.6.3.","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 to persistently inject scripts in XWiki versions prior to 12.6.3 and 12.8. Unregistred users can fill simple text fields. Registered users can fill in their personal information and (if they have edit rights) fill the values of static lists using App Within Minutes. There is no easy workaround except upgrading XWiki. The vulnerability has been patched on XWiki 12.8 and 12.6.3.","source":"cvelist"},{"lang":"en","text":"### Impact\nIt is possible to persistently inject scripts in XWiki.\n\nFor unregistred users:\n- By filling simple text fields\n\nFor registered users:\n- By filling their personal information\n- (if they have edit rights) By filling the values of static lists using App Within Minutes\n\nThat can lead to user's session hijacking, and if used in conjunction with a social engineering attack it can also lead to disclosure of sensitive data, CSRF attacks and other security vulnerabilities.\nThat can also lead to the attacker taking over an account.\nIf the victim has administrative rights it might even lead to code execution on the server, depending on the application and the privileges of the account.\n### Patches\nIt has been patched on XWiki 12.8 and 12.6.3.\n\n### Workarounds\nThere is no easy workaround except upgrading XWiki.\n\n### References\nhttps://jira.xwiki.org/browse/XWIKI-17374\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 our [security mailing list](mailto:security@xwiki.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki Platform es una plataforma wiki genérica que ofrece servicios en tiempo de ejecución para aplicaciones creadas sobre ella.&#xa0;Es posible inyectar scripts de forma persistente en XWiki versiones anteriores a 12.6.3 y 12.8.&#xa0;Unos usuarios no registrados pueden completar campos de texto simple.&#xa0;Los usuarios registrados pueden completar su información personal y (si presentan derechos de edición) completar los valores de las listas estáticas usando App Within Minutes.&#xa0;No se presenta una solución sencilla excepto actualizar XWiki.&#xa0;La vulnerabilidad ha sido parcheada en XWiki versiones 12.8 y 12.6.3","source":"nvd"}],"published":"2021-04-20T18:30:22.000Z","modified":"2026-07-08T06:29:41.048Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","score":9.6,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","score":9.6,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 12.6.3","status":"affected"},{"version":">= 12.6.4, < 12.8","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.6.3"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"12.6.4","status":"affected","fixed":"12.8"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.6.3"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"12.6.4","status":"affected","fixed":"12.8"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"12.6.3"},{"status":"affected","introduced":"12.6.4","fixed":"12.8"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-5c66-v29h-xjh8","tags":["exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29459","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29459","url":"https://www.cve.org/CVERecord?id=CVE-2021-29459","licence":"CVE Terms of Use","modified":"2024-08-03T22:02:51.994Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5c66-v29h-xjh8","url":"https://github.com/advisories/GHSA-5c66-v29h-xjh8","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:41.048Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29459","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29459","licence":"Public domain","modified":"2026-06-17T03:47:41.050Z"}],"updatedAt":"2026-11-25T22:58:00.872Z","epss":{"score":0.01123,"percentile":0.67169,"date":"2026-12-01T12:00:22.000Z"}}