Cross-site Scripting in the Flamingo theme manager
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.platform:xwiki-platform-flamingo-theme-uiMaven | < 12.10.11 | 12.10.11 |
org.xwiki.platform:xwiki-platform-flamingo-theme-uiMaven | >= 13.0.0, < 13.4.7 | 13.4.7 |
org.xwiki.platform:xwiki-platform-flamingo-theme-uiMaven | >= 13.5.0, < 13.10.3 | 13.10.3 |
Affected products
1- Range: >= 6.2.4, < 12.10.11
Patches
1bd935320bee3XWIKI-19294: Fix bad escaping
1 file changed · +1 −1
xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-theme/xwiki-platform-flamingo-theme-ui/src/main/resources/FlamingoThemesCode/WebHomeSheet.xml+1 −1 modified@@ -287,7 +287,7 @@ <form action="$doc.getURL()" method="post"> <input type="hidden" name="form_token" value="$services.csrf.token" /> <input type="hidden" name="action" value="create"/> - <input type="hidden" name="newThemeName" id="newThemeName" value="$request.newThemeName" /> + <input type="hidden" name="newThemeName" id="newThemeName" value="$escapetool.xml($request.newThemeName)" /> <input type="submit" value="$services.localization.render('platform.flamingo.themes.home.create.confirm')" class="button"/> </form> {{/html}}
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-vmhh-xh3g-j992ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-29251ghsaADVISORY
- github.com/xwiki/xwiki-platform/commit/bd935320bee3c27cf7548351b1d0f935f116d437ghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-vmhh-xh3g-j992ghsax_refsource_CONFIRMWEB
- jira.xwiki.org/browse/XWIKI-19294ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.