Stored XSS via malicious usernames in audit log details + Username validation bypass in XML‑RPC addUser
Usernames were not sanitised when shown in audit log details, so a malicious username could run JavaScript in an admin's browser. The XML-RPC addUser method also skipped the username validation added for an earlier CVE, letting API users create names that enabled impersonation or stored XSS.
- Disclosed after 47 days
Summary by the program
HackerOne community member barcrange (3l4) has reported that usernames could be used as a vector for a stored XSS attack. When an admin user viewed the audit log details for affected entries, any malicious JavaScript payload embedded in the username would be executed due to missing output sanitisation.
They also reported that the XML‑RPC API addUser method was bypassing the validation rules introduced in the fix for CVE‑2025‑55129. As a result, API users could create usernames that enabled impersonation or stored XSS attacks.
Proper escaping has been added to the audit log details output and validation has been added where it was missing.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the audit log details rendered usernames without output encoding, and the XML-RPC addUser path did not apply the username validation rules added in the earlier fix.
Impact
An attacker could store a script that runs when an admin views the audit log, and could create usernames that allow impersonation or stored XSS.
What the attacker needed
Ability to set a username; admin views the audit log details
The fix
Proper escaping was added to the audit log details output and the missing username validation was added.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A username is normally just text, but if a site puts that text into a web page without cleaning it, the browser treats it as code. Here an attacker could pick a username containing code, and when an administrator opened the audit log the code ran in the admin's session. A second issue was that one way of creating accounts skipped the checks meant to stop bad usernames.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.