Vulnérabilité dans org.xwiki.rendering:xwiki-rendering-xml (CVE-2025-53837)
Résumé
Vulnérabilité dans org.xwiki.rendering:xwiki-rendering-xml (CVE-2025-53837). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via XWiki.UIExtensionClass. Atténuation : mise à jour vers 14.10.2 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
Any user who can edit their own user profile or any other document can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The reason is that rendering output is included as content of HTML macros without further escaping and it is thus possible to close the HTML macro and inject script macros that are executed with programming rights.
This can be demonstrated by adding an object of type XWiki.UIExtensionClass to a document with content {{html wiki="true"}}~{~{~/~h~t~m~l~}~}~ ~{~{~c~a~c~h~e~}~}~{~{~g~r~o~o~v~y~}~}~p~r~i~n~t~l~n~(~1~)~{~{~/~g~r~o~o~v~y~}~}~{~{~/~c~a~c~h~e~}~}{{/html}}, extension point id org.xwiki.platform.html.head, extension id org.xwiki.myuser.test and extension scope "current user". When opening /xwiki/bin/view/Main/?sheet=CKEditor.ContentSheet&xpage=plain where `` is the URL of the XWiki installation, the output should start with {{/html}} {{cache}}{{groovy}}println(1){{/groovy}}{{/cache}} and not with 1.
This escaping was always missing at least in XWiki syntax version 2, it is definitely exploitable in XWiki 3.3 Milestone 1 via the user profile (not through extension points), though this has also been fixed by a separate patch, see the advisory. Exploitable extension points include [org.xwiki.platform.search.ui.docdoesnotexist](h…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2025-53837 a été découverte dans org.xwiki.rendering:xwiki-rendering-xml.
Des attaquants peuvent cibler un point d'entrée spécifique comme XWiki.UIExtensionClass à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 9.9/10.
Action : mettez à jour org.xwiki.rendering:xwiki-rendering-xml vers 14.10.2 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « org.xwiki.rendering:xwiki-rendering-xml CVE-2025-53837 » sur le site de l'éditeur.
CVE-2025-53837 (org.xwiki.rendering:xwiki-rendering-xml) — CWE-95 / CVSS v3 9.9
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : XWiki.UIExtensionClass / org.xwiki.platform.html.head / org.xwiki.myuser.test
Correctif : 14.10.2 — appliquer immédiatement
Contournement : It is in principle possible to add escaping to all places where rendering output is used in wiki documents but at the moment there is no list of them.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-95) affecte org.xwiki.rendering:xwiki-rendering-xml. Les attaquants atteignent le code vulnérable via XWiki.UIExtensionClass.
Consultez l'avis de l'éditeur pour les versions affectées de org.xwiki.rendering:xwiki-rendering-xml. Surface d'attaque : XWiki.UIExtensionClass / org.xwiki.platform.html.head / org.xwiki.myuser.test.
Gravité : Critique (CVSS 9.9/10). L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 14.10.2.
Contournement : It is in principle possible to add escaping to all places where rendering output is used in wiki documents but at the moment there is no list of them.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.xwiki.rendering:xwiki-rendering-xml を使っているサービスとバージョンを洗い出す。
-
2Apply temporary workaround mitigate
It is in principle possible to add escaping to all places where rendering output is used in wiki documents but at the moment there is no list of them.パッチが適用されるまでの応急処置として、It is in principle possible to add escaping to all places where rendering output is used in wiki documents but at the moment there is no list of them. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade org.xwiki.rendering:xwiki-rendering-xml to 14.10.2ステージング環境で 14.10.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。