T09 · Insecure Skill Coding Practices
- Location
assets/daily_report.py:205- Finding
Unescaped API Data Allows Active Content Injection in Generated HTML Reports
- Content
View full analysis
' # 文章标题改为可点击链接 if url: title_html = f'{title}' else: title_html = f'{title}' # 各项数据为0时不展示该字段 metrics_parts = [] if raw_reads > 0: metrics_parts.append(f'👁 {reads}') if raw_likes > 0: metrics_parts.append(f'👍 {likes}') if raw_comments > 0: metrics_parts.append(f'💬 {comments}') metrics_html = "\n ".join(metrics_parts) if metrics_parts else "" articles_html += f'''{cover_html}{title_html}{author} {metrics_html}...[truncated 2632 chars]- Remediation
View remediation
