VYPR
High severityNVD Advisory· Published May 25, 2022· Updated Apr 23, 2025

Cross-site Scripting in the Flamingo theme manager

CVE-2022-29251

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.

PackageAffected versionsPatched versions
org.xwiki.platform:xwiki-platform-flamingo-theme-uiMaven
< 12.10.1112.10.11
org.xwiki.platform:xwiki-platform-flamingo-theme-uiMaven
>= 13.0.0, < 13.4.713.4.7
org.xwiki.platform:xwiki-platform-flamingo-theme-uiMaven
>= 13.5.0, < 13.10.313.10.3

Affected products

1

Patches

1
bd935320bee3

XWIKI-19294: Fix bad escaping

https://github.com/xwiki/xwiki-platformThomas MortagneJan 4, 2022via ghsa
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 @@
           &lt;form action="$doc.getURL()" method="post"&gt;
             &lt;input type="hidden" name="form_token" value="$services.csrf.token" /&gt;
             &lt;input type="hidden" name="action" value="create"/&gt;
    -        &lt;input type="hidden" name="newThemeName" id="newThemeName" value="$request.newThemeName" /&gt;
    +        &lt;input type="hidden" name="newThemeName" id="newThemeName" value="$escapetool.xml($request.newThemeName)" /&gt;
             &lt;input type="submit" value="$services.localization.render('platform.flamingo.themes.home.create.confirm')" class="button"/&gt;
           &lt;/form&gt;
         {{/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

News mentions

0

No linked articles in our index yet.