T09 · Insecure Skill Coding Practices
- Location
templates/squeeze-page.html:224- Finding
Unescaped Template Variables Allow HTML Injection, Cross-Site Scripting, and Form Redirection
- Content
View full analysis
{{HEADLINE}}{{SUBHEADLINE}}
{{CTA_TEXT}}``` ```html- {{BENEFIT_1}}
- {{BENEFIT_2}}
- {{BENEFIT_3}}
- {{BENEFIT_4}}
- {{BENEFIT_5}}
``` ```htmlJoin {{SUBSCRIBER_COUNT}}+ subscribers
{{SUBSCRIBER_COUNT}}+``` ```html"{{TESTIMONIAL_1}}"
- {{TESTIMONIAL_1_AUTHOR}}
"{{TESTIMONIAL_2}}"
- {{TESTIMONIAL_2_AUTHOR}}
{{URGENCY_HEADLINE}}
{{URGENCY_MESSAGE}}
{{#if COUNTDOWN_DATE}}{{COUNTDOWN_DATE}}{{/if}} ``` ```html ``` ### Technical Analysis The template places configurable values directly into HTML text nodes and quoted attributes. The project documentation instructs users to replace these placeholders but does not require context-aware output encoding or validation of URL destinations. If an untrusted value contains ...[truncated 3148 chars]- Remediation
View remediation
alert(1) " onerror="alert(1) javascript:alert(1) ``` - Verify that payloads are displayed as harmless text or rejected. - Verify that form, image, privacy, and terms URLs cannot target ...[truncated 352 chars]
