What's Changed
Security
- Stored XSS in the activity timeline: the causer name was placed into the timeline sentences without escaping, so a user able to set their own display name could run script in the browser of whoever opened the timeline. The causer name is now escaped. See the security advisory: GHSA-3w3p-2266-f682
- Attribute keys and event names without a translation are now escaped in the timeline as well
Changed
- Causer names, attribute keys and event names containing
&,<,>or quotes are shown literally in the timeline instead of being parsed as HTML. AtranslateLogKey()callback that returned markup will now have that markup displayed as text
Added
- Pest test suite covering the escaping of the timeline entries
All users of the timeline actions should upgrade.
Thanks @iefken for reporting the issue privately and sending the fix!
Full Changelog: v3.1.0...v3.1.1