GHSA-8g9c-c9cm-9c56
XWiki Platform may show email addresses in clear in REST results
Quick fix
GHSA-8g9c-c9cm-9c56 — org.xwiki.platform:xwiki-platform-rest-server: upgrade to the fixed version with the command below.
# pom.xml: bump <version>14.4.8</version> for org.xwiki.platform:xwiki-platform-rest-serverDetails
### 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:security@xwiki.org)
Are you affected?
Enter the version of the package you're using.
Affected packages
7.3-milestone-1Fixed in: 14.4.8# pom.xml: bump <version>14.4.8</version> for org.xwiki.platform:xwiki-platform-rest-server14.5Fixed in: 14.10.6# pom.xml: bump <version>14.10.6</version> for org.xwiki.platform:xwiki-platform-rest-server15.0-rc-1Fixed in: 15.1# pom.xml: bump <version>15.1</version> for org.xwiki.platform:xwiki-platform-rest-serverReferences
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8g9c-c9cm-9c56[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-35151[ADVISORY]
- https://github.com/xwiki/xwiki-platform/commit/824cd742ecf5439971247da11bfe7e0ad2b10ede[WEB]
- https://github.com/xwiki/xwiki-platform[PACKAGE]
- https://jira.xwiki.org/browse/XWIKI-16138[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.xwiki.platform/xwiki-platform-rest-server"]}'