GHSA-8g9c-c9cm-9c56
XWiki Platform may show email addresses in clear in REST results
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-rest-server | >= 7.3-milestone-1, < 14.4.8 | 14.4.8 |
| Maven | org.xwiki.platform:xwiki-platform-rest-server | >= 14.5, < 14.10.6 | 14.10.6 |
| Maven | org.xwiki.platform:xwiki-platform-rest-server | >= 15.0-rc-1, < 15.1 | 15.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
Any user can call a REST endpoint and obtain the obfuscated passwords (even when the mail obfuscation is activated).
For instance, by calling http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/XWiki/pages/U1/objects/XWiki.XWikiUsers/0 when user `U1` exists on wiki `xwiki`.
### Patches
The issue has been patched on XWiki 14.4.8, 14.10.6, and 15.1
### Workarounds
There is no known workaround. It is advised to upgrade to one of the patched versions.
### References
- https://jira.xwiki.org/browse/XWIKI-16138
- https://github.com/xwiki/xwiki-platform/commit/824cd742ecf5439971247da11bfe7e0ad2b10ede
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)
* Email us at [Security Mailing List](mailto:[email protected])
References
External links from the advisory. They lead to third-party sites.