TabletopExercise
Warn
Audited by Socket on Nov 9, 2026
1 alert found:
SecuritySecuritypdf-generator/generate-html.ts
MEDIUMSecurityMEDIUM
pdf-generator/generate-html.ts
This code generates a tabletop-exercise HTML report and local evaluation interface, with no evident credential theft, system damage, or intentional exfiltration. It has a significant XSS risk: gap titles can break out of the inline script, and gap titles plus user-entered owner/notes are later inserted through `innerHTML` without escaping; severity and priority fields also have unsafe HTML interpolation. It additionally makes external font requests to fonts.googleapis[.]com and fonts.gstatic[.]com. Overall severity is high for untrusted report data or users; use safe DOM rendering and escape JSON for embedding in HTML scripts.
Confidence: 99%Severity: 78%
Audit Metadata