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

Cross-site Scripting in XWiki Platform Wiki UI Main Wiki

CVE-2022-29252

Description

XWiki Platform Wiki UI Main Wiki is a package for managing subwikis. Starting with version 5.3-milestone-2, XWiki Platform Wiki UI Main Wiki contains a possible cross-site scripting vector in the WikiManager.JoinWiki wiki page related to the "requestJoin" 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 WikiManager.JoinWiki (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-wiki-ui-mainwikiMaven
< 12.10.1112.10.11
org.xwiki.platform:xwiki-platform-wiki-ui-mainwikiMaven
>= 13.0.0, < 13.4.713.4.7
org.xwiki.platform:xwiki-platform-wiki-ui-mainwikiMaven
>= 13.5.0, < 13.10.313.10.3

Affected products

1

Patches

1
27f839133d41

XWIKI-19292: Fix bad escaping

https://github.com/xwiki/xwiki-platformThomas MortagneJan 4, 2022via ghsa
1 file changed · +1 1
  • xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-ui/xwiki-platform-wiki-ui-mainwiki/src/main/resources/WikiManager/JoinWiki.xml+1 1 modified
    @@ -245,7 +245,7 @@
                       &lt;a href="$backUrl" class='button secondary'&gt;{{translation key="platform.wiki.users.join.request.cancel.label"/}}&lt;/a&gt;
                     &lt;/span&gt;
                     &lt;input type='hidden' name='wikiId' value="$!wikiId"/&gt;
    -                &lt;input type='hidden' name='requestJoin' value="$!request.requestJoin"/&gt;
    +                &lt;input type='hidden' name='requestJoin' value="$escapetool.xml($!request.requestJoin)"/&gt;
                     &lt;input type="hidden" name="form_token" value="$!escapetool.xml($services.csrf.getToken())" /&gt;
                   &lt;/dl&gt;
                 &lt;/form&gt;
    

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.