{"id":"CVE-2022-29251","aliases":["CVE-2022-29251","GHSA-vmhh-xh3g-j992"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting in the Flamingo theme manager","summary":"XWiki Platform Flamingo Theme UI is a tool that allows customization and preview of any Flamingo-based skin. Starting with versions 6.2.4 and 6.3-rc-1, a possible cross-site scripting vector is present in the `FlamingoThemesCode.WebHomeSheet` wiki page related to the \"newThemeName\" form field. The issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, and 13.10.3. The easiest available workaround is to edit the wiki page `FlamingoThemesCode.WebHomeSheet` (with wiki editor) according to the suggestion provided in the GitHub Security Advisory.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki Platform Flamingo Theme UI is a tool that allows customization and preview of any Flamingo-based skin. Starting with versions 6.2.4 and 6.3-rc-1, a possible cross-site scripting vector is present in the `FlamingoThemesCode.WebHomeSheet` wiki page related to the \"newThemeName\" form field. The issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, and 13.10.3. The easiest available workaround is to edit the wiki page `FlamingoThemesCode.WebHomeSheet` (with wiki editor) according to the suggestion provided in the GitHub Security Advisory.","source":"cvelist"},{"lang":"en","text":"### Impact\nWe found a possible XSS vector in the `FlamingoThemesCode.WebHomeSheet` wiki page related to the \"newThemeName\" form field.\n\n### Patches\n\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 `FlamingoThemesCode.WebHomeSheet` (with wiki editor) and change the line\n\n```\n<input type=\"hidden\" name=\"newThemeName\" id=\"newThemeName\" value=\"$request.newThemeName\" />\n```\n\ninto\n\n```\n<input type=\"hidden\" name=\"newThemeName\" id=\"newThemeName\" value=\"$escapetool.xml($request.newThemeName)\" />\n```\n\n### References\n  * https://jira.xwiki.org/browse/XWIKI-19294\n  * https://github.com/xwiki/xwiki-platform/commit/bd935320bee3c27cf7548351b1d0f935f116d437\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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki Platform Flamingo Theme UI es una herramienta que permite personalizar y previsualizar cualquier skin basado en Flamingo. A partir de las versiones 6.2.4 y 6.3-rc-1, se presenta un posible vector de cross-site scripting en la página wiki \"FlamingoThemesCode.WebHomeSheet\" relacionado con el campo de formulario \"newThemeName\". El problema está parcheado en versiones 12.10.11, 14.0-rc-1, 13.4.7 y 13.10.3. La mitigación más fácil disponible es editar la página wiki \"FlamingoThemesCode.WebHomeSheet\" (con el editor wiki) de acuerdo con la sugerencia proporcionada en el aviso de seguridad de GitHub","source":"nvd"}],"published":"2022-05-25T20:55:22.000Z","modified":"2026-06-17T04:39:55.327Z","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:N/A:N","score":7.4,"rating":"HIGH"},"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:N/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"},{"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","CWE-80","CWE-116"],"affected":[{"ranges":[{"version":">= 6.2.4, < 12.10.11","status":"affected"},{"version":">= 13.0, < 13.4.7","status":"affected"},{"version":">= 13.5, < 13.10.3","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.10.11"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-flamingo-theme-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"13.0.0","status":"affected","fixed":"13.4.7"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-flamingo-theme-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"13.5.0","status":"affected","fixed":"13.10.3"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-flamingo-theme-ui","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"6.2.4","fixed":"12.10.11"},{"status":"affected","introduced":"13.0","fixed":"13.4.7"},{"status":"affected","introduced":"13.5","fixed":"13.10.3"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vmhh-xh3g-j992","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/bd935320bee3c27cf7548351b1d0f935f116d437","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19294","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29251","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T14:06:38.550Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-29251","url":"https://www.cve.org/CVERecord?id=CVE-2022-29251","licence":"CVE Terms of Use","modified":"2025-04-23T18:21:32.527Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vmhh-xh3g-j992","url":"https://github.com/advisories/GHSA-vmhh-xh3g-j992","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:12.290Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-29251","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29251","licence":"Public domain","modified":"2026-06-17T04:39:55.327Z"}],"updatedAt":"2026-11-25T22:58:11.938Z","epss":{"score":0.01336,"percentile":0.72035,"date":"2026-12-01T12:00:22.000Z"}}