flarum/nicknames
Affected
- introduced
0, fixed1.8.3(ecosystem)
Fixed versions
1.8.3
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-30913
flarum/nicknames extension has display name injection in notification emails (autolink & markdown)
Summary
When the flarum/nicknames extension is enabled, a registered user can set their nickname to a string that email clients interpret as a hyperlink. The nickname is inserted verbatim into plain-text notification emails, and recipients may be misled into visiting attacker-controlled domains.
Affected package
1.x branchAny third-party display name driver that permits special characters would be equally affected.
Variants
nasty.com is automatically converted to a clickable hyperlink by virtually all email clients (Gmail, Outlook, Apple Mail, Thunderbird).[CLICK](https://evil.com) is rendered as a clickable hyperlink by email clients that auto-render markdown in plain-text emails (e.g. Apple Mail, Thunderbird).Steps to reproduce
Variant 1 (autolink — affects all email clients)
flarum/nicknames, set nickname to nasty.comVariant 2 (markdown — affects markdown-rendering email clients)
flarum/nicknames, set nickname to [CLICK](https://evil.com)Impact
Phishing / social engineering: victims may be misled into visiting attacker-controlled URLs via links appearing to originate from a trusted platform notification email. Variant 1 is exploitable against virtually all email clients without any special conditions.
AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N — 4.6 MediumRoot cause
The default username-based display name driver constrains values to [a-zA-Z0-9_-]+, making it immune. flarum/nicknames introduced permissive validation (min/max length and an optional admin-configured regex) that allows arbitrary characters including those meaningful in URL and markdown contexts. This has been the case since the first commit of the extension.
Proposed fix
flarum/nicknames to reject or sanitize nicknames containing characters that email clients may interpret as URLs or markdown linksJane.Smith are preserved but rendered safelyReferences
Medium Basis: The source's own band: MODERATE
0, fixed 1.8.3 (ecosystem)1.8.3
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0