{"id":"CVE-2022-29251","aliases":["GHSA-vmhh-xh3g-j992"],"url":"https://o3.security/vulnerability/CVE-2022-29251","summary":"Cross-site Scripting in the Flamingo theme manager","details":"### 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)","published":"2022-05-25T20:55:22Z","modified":"2026-08-12T03:51:18.153611227Z","cvss":{"score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"},"epss":{"score":0.01315,"percentile":0.69309,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-flamingo-theme-ui","fixedVersion":"12.10.11"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-flamingo-theme-ui","fixedVersion":"13.4.7"},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-flamingo-theme-ui","fixedVersion":"13.10.3"}],"fix":{"url":"https://github.com/xwiki/xwiki-platform/commit/bd935320bee3c27cf7548351b1d0f935f116d437","label":"xwiki/xwiki-platform@bd93532"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-19294"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29251.json"},{"type":"ADVISORY","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vmhh-xh3g-j992"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29251"},{"type":"FIX","url":"https://github.com/xwiki/xwiki-platform/commit/bd935320bee3c27cf7548351b1d0f935f116d437"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:18.153611227Z"}}