seecode
Warn
Audited by Socket on Nov 26, 2026
1 alert found:
AnomalyAnomalyscripts/lib/export/fonts.mjs
LOWAnomalyLOW
scripts/lib/export/fonts.mjs
This code embeds remote fonts and HTTPS resources into SVGs. Its main security concern is SSRF when untrusted SVGs are processed server-side: SVG-controlled HTTPS URLs are fetched without host validation, and redirects may also reach unintended destinations. No clear credential theft, destructive behavior, or malware is evident; severity is context-dependent, with additional memory-exhaustion risk from reading responses before enforcing the size limit.
Confidence: 97%Severity: 62%
Audit Metadata