Details
-
Bug
-
Resolution: Fixed
-
Critical
-
2.2.4
-
Unknown
-
Description
Steps to reproduce:
Open /xwiki/bin/get/Calendar/JSONService?classname=XWiki.XWikiUsers&startfield=password&extraFields=password,email,last_name&outputSyntax=plain.
Expected result:
The output doesn't contain any password hashes.
Actual result:
The output displays the password hashes of all users in the "description" field.
Passing the email in the first field in the extra fields would also display the email even when obfuscation is disabled.
The code for returning the values shouldn't use getValue but should instead use display and use the #unwrapXPropertyDisplay macro or copy its code in case it's not available in the used version of XWiki.
GitHub advisory: https://github.com/xwiki-contrib/macro-fullcalendar/security/advisories/GHSA-637h-ch24-xp9m
Attachments
Issue Links
- is caused by
-
FULLCAL-57 Make possible to add extra class fields calendar macro
-
- Closed
-