Skip to content

RXSS with authenticate endpoints

Moderate
tmortagne published GHSA-jjm5-5v9v-7hx2 Apr 12, 2023

Package

maven org.xwiki.platform:xwiki-platform-security-authentication-default (Maven)

Affected versions

>= 13.10.8, < 13.10.11
>= 14.4.3, < 14.4.7
>= 14.6, < 14.10

Patched versions

13.10.11
14.4.7
14.10

Description

Impact

It was possible to inject some code using the URL of authenticate endpoints, e.g.:

https://hostname/xwiki/authenticate/wiki/xwiki%22onload=%22alert(origin)%22/resetpassword

This vulnerability was present in recent versions of XWiki:

  • 13.10.8+
  • 14.4.3+
  • 14.6+

Patches

This problem has been patched on XWiki 13.10.11, 14.4.7 and 14.10.

Workarounds

There is no easy workaround except to upgrade.

References

For more information

If you have any questions or comments about this advisory:

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

CVE ID

CVE-2023-29506

Weaknesses

Credits