pdf-to-ppt-pack
Warn
Audited by Socket on Apr 9, 2026
1 alert found:
SecuritySecurityppt/framework/components/image.js
MEDIUMSecurityMEDIUM
ppt/framework/components/image.js
No malicious payload logic is evident in this module (no network/process execution), but the component is a high-risk HTML string renderer: it embeds caller-controlled fields directly into HTML content, element attributes (`src`, `alt`, `data-step`, `data-hide-step`), and inline `style` attributes without escaping or sanitization. If the consumer inserts the returned string into the DOM using HTML-unsafe methods (e.g., innerHTML) without sanitization, this can lead to XSS/HTML/attribute/style injection. The security of this module heavily relies on upstream sanitization and safe DOM APIs.
Confidence: 75%Severity: 82%
Audit Metadata