Skip to content

v4.1.1

Latest

Choose a tag to compare

@rmsramos rmsramos released this 24 Nov 11:23
v4.1.1
61bbc68

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. A translateLogKey() 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: v4.1.0...v4.1.1