Steps to reproduce
- Modify your user agent to include HTML
- Make a test edit or logged action
- Load Special:CheckUser
- Run a check using the 'get edits' type
- Notice that the HTML isn't escaped
Example
Override your user agent string (example using Firefox about:config):
Inspecting the logged edit using inspect element:
Other information
The user agent is truncated before insertion into the database at 255 bytes which could make it harder to abuse. Only occurs when running the 'get edits' check type.