{"id":"CVE-2026-30913","aliases":["CVE-2026-30913","GHSA-3c4m-j3g4-hh25"],"related":[],"kind":"vulnerability","state":"published","title":"flarum/nickname: Display name injection in notification emails (autolink & markdown)","summary":"Flarum is open-source forum software. 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Flarum is open-source forum software. 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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nWhen 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.\n\n## Affected package\n\n- **`flarum/nicknames`** — permissive display name driver that allows special characters; affected since initial release on the `1.x` branch\n\nAny third-party display name driver that permits special characters would be equally affected.\n\n## Variants\n\n1. **Domain autolink** — a nickname such as `nasty.com` is automatically converted to a clickable hyperlink by virtually all email clients (Gmail, Outlook, Apple Mail, Thunderbird).\n2. **Markdown link syntax** — a nickname such as `[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).\n\n## Steps to reproduce\n\n**Variant 1 (autolink — affects all email clients)**\n1. Enable `flarum/nicknames`, set nickname to `nasty.com`\n2. Trigger a notification email to another user (e.g. follow them, mention them)\n3. The nickname appears as a clickable link in the received email\n\n**Variant 2 (markdown — affects markdown-rendering email clients)**\n1. Enable `flarum/nicknames`, set nickname to `[CLICK](https://evil.com)`\n2. Trigger a notification email to another user\n3. In a markdown-rendering email client (e.g. Apple Mail), the nickname appears as a clickable link\n\n## Impact\n\nPhishing / 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.\n\n- CVSS v3.1: `AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N` — **4.6 Medium**\n\n## Root cause\n\nThe 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.\n\n## Proposed fix\n\n- Add validation in `flarum/nicknames` to reject or sanitize nicknames containing characters that email clients may interpret as URLs or markdown links\n- Alternatively, sanitize the display name before insertion into notification email bodies so that legitimate nicknames like `Jane.Smith` are preserved but rendered safely\n\n## References\n\n- Bug bounty submission: SBB-L4ZVAFH8 (Intigriti)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Flarum es un software de foro de código abierto. Cuando la extensión flarum/nicknames está habilitada, un usuario registrado puede establecer su apodo a una cadena que los clientes de correo electrónico interpretan como un hipervínculo. El apodo se inserta textualmente en los correos electrónicos de notificación de texto sin formato, y los destinatarios pueden ser engañados para que visiten dominios controlados por el atacante.","source":"nvd"}],"published":"2026-03-09T22:42:40.014Z","modified":"2026-06-17T10:33:08.410Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.8.3","status":"affected"}],"vendor":"flarum","product":"nicknames","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.3"}],"ecosystem":"Packagist","package":"flarum/nicknames","purl":"pkg:composer/flarum/nicknames","source":"ghsa"}],"references":[{"url":"https://github.com/flarum/framework/security/advisories/GHSA-3c4m-j3g4-hh25","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/flarum/nicknames/commit/4dde99729abdce8f6e2a7437c86e38735fdcca28","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/flarum/nicknames/releases/tag/v1.8.","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30913","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/flarum/framework","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/flarum/nicknames/releases/tag/v1.8.3","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-03-10T14:17:25.125Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-30913","url":"https://www.cve.org/CVERecord?id=CVE-2026-30913","licence":"CVE Terms of Use","modified":"2026-03-10T14:17:30.046Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3c4m-j3g4-hh25","url":"https://github.com/advisories/GHSA-3c4m-j3g4-hh25","licence":"CC-BY-4.0","modified":"2026-03-10T18:47:25.701Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-30913","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30913","licence":"Public domain","modified":"2026-06-17T10:33:08.410Z"}],"updatedAt":"2026-11-25T22:59:15.564Z","epss":{"score":0.00242,"percentile":0.16452,"date":"2026-12-01T12:00:22.000Z"}}