CVE-2025-32970
JSON

6.1medium

org.xwiki.platform:xwiki-platform-wysiwyg-api Open Redirect vulnerability

Severity
6.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.61% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pjhg-9wr9-rj96

Description

XWiki is a generic wiki platform. In versions starting from 13.5-rc-1 to before 15.10.13, from 16.0.0-rc-1 to before 16.4.4, and from 16.5.0-rc-1 to before 16.8.0, an open redirect vulnerability in the HTML conversion request filter allows attackers to construct URLs on an XWiki instance that redirects to any URL. This issue has been patched in versions 15.10.13, 16.4.4, and 16.8.0.

Affected

Product or packageVersionsReported by
xwiki xwiki-platform>= 13.5-rc-1, < 15.10.13, >= 16.0.0-rc-1, < 16.4.4, >= 16.5.0-rc-1, < 16.8.0CVE List
org.xwiki.platform:xwiki-platform-wysiwyg-api (Maven)from 13.5-rc-1 before 15.10.13, from 16.0.0-rc-1 before 16.4.4, from 16.5.0-rc-1 before 16.8.0GitHub Advisory Database
xwiki xwikifrom 13.5 before 15.10.13, from 16.0.0 before 16.4.4, from 16.5.0 before 16.8.0, 16.8.0NVD

All scores

GitHub_M6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-601

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

XWiki is a generic wiki platform. In versions starting from 13.5-rc-1 to before 15.10.13, from 16.0.0-rc-1 to before 16.4.4, and from 16.5.0-rc-1 to before 16.8.0, an open redirect vulnerability in the HTML conversion request filter allows attackers to construct URLs on an XWiki instance that redirects to any URL. This issue has been patched in versions 15.10.13, 16.4.4, and 16.8.0.

GitHub Advisory Database
Impact

An open redirect vulnerability in the HTML conversion request filter allows attackers to construct URLs on an XWiki instance that redirect to any URL. To reproduce, open <xwiki-host>/xwiki/bin/view/Main/?foo=bar&foo_syntax=invalid&RequiresHTMLConversion=foo&xerror=https://www.example.com/ where <xwiki-host> is the URL of your XWiki installation.

Patches

This bug has been fixed in XWiki 15.10.13, 16.4.4 and 16.8.0 by validating the domain of the redirect URL against the configured safe domains and the current request's domain.

Workarounds

A web application firewall could be configured to reject requests with the xerror parameter as from our analysis this parameter isn't used anymore. For requests with the RequiresHTMLConversion parameter set, the referrer URL should be checked if it points to the XWiki installation. Apart from that, we're not aware of any workarounds.

NVD (es)

XWiki es una plataforma wiki genérica. En las versiones 13.5-rc-1 y anteriores a la 15.10.13, 16.0.0-rc-1 y anteriores a la 16.4.4, y 16.5.0-rc-1 y anteriores a la 16.8.0, una vulnerabilidad de redirección abierta en el filtro de solicitud de conversión HTML permite a los atacantes construir URL en una instancia de XWiki que redirigen a cualquier URL. Este problema se ha corregido en las versiones 15.10.13, 16.4.4 y 16.8.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-32970 changed 2025-04-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-pjhg-9wr9-rj96 changed 2025-04-30CC-BY-4.0
NVDCVE-2025-32970 changed 2026-06-17Public domain