DiscordChatExporter saves Discord chat logs to a file. Prior to 2.47.2, the VisitEmojiAsync method in DiscordChatExporter.Core/Exporting/HtmlMarkdownVisitor.cs interpolates emoji.Name into the alt attribute and emoji.Code into the title attribute without HTML entity encoding. This affects HTML exports regardless of the markdown setting. Discord's current custom emoji name validation normally excludes attribute-breaking characters, but tampered offline input, a relaxed upstream validation rule, or another future metadata source can inject an HTML attribute and execute script when a user opens the export. This issue is fixed in version 2.47.2.
CVE-2026-54681
This medium-severity CVE scores 4.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 97% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.1
- EG Score
- 4.1(medium)
- EG Risk
- 34(Track)EG Risk 34/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity41% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 3%
- KEV
- Not listed
Published
August 21, 2026
Last Modified
August 21, 2026
Advisory Details (4)
Auto-updated Aug 21, 20262.47.2
Patch available: Tyrrrz/DiscordChatExporter 2.47.2
https://github.com/Tyrrrz/DiscordChatExporter/releases/tag/2.47.2commit f4d1e630f7f2 (Tyrrrz/DiscordChatExporter)
Fix landed in Tyrrrz/DiscordChatExporter commit f4d1e630f7f2 — awaiting tagged release
https://github.com/Tyrrrz/DiscordChatExporter/commit/f4d1e630f7f27120c3be4320d92cc8b932e78688Implement missing HTML encoding for several attribute injections
Fix merged in Tyrrrz/DiscordChatExporter PR #1544 on 2026-06-04 — awaiting tagged release
https://github.com/Tyrrrz/DiscordChatExporter/pull/1544HTML attribute injection via unescaped emoji name in HTML export · Advisory · Tyrrrz/DiscordChatExporter · GitHub
https://github.com/Tyrrrz/DiscordChatExporter/security/advisories/GHSA-r7qm-wg9p-pjfcWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-30 01:39 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 01:07 UTCEG score recompute
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 23:36 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-25 22:30 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 21:59 UTCEG score recompute
- 2026-08-23 21:27 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 20:23 UTCEG score recompute
- 2026-08-21 19:20 UTCEG score recompute
- 2026-08-21 18:49 UTCEG score recompute
- 2026-08-21 18:49 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-54681?
When was CVE-2026-54681 disclosed?
Is CVE-2026-54681 actively exploited?
What is the CVSS score of CVE-2026-54681?
How do I remediate CVE-2026-54681?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-54681
Is Your Infrastructure Affected by CVE-2026-54681?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.