T09 · Insecure Skill Coding Practices
- Location
module4_report_generator.py:421- Finding
Stored HTML Injection Through Unsanitized News and Model Content
- Content
View full analysis
{news['rank']}{news['title']}{news['source']} 热度: {news['score']:.1f}分 {news['publish_time']}{news['summary']}关键词: {keywords_html}""" if news.get('url'): hot_news_html += f""" """ deep_reports_html = "" for report_data in deep_reports: analysis_text = report_data.get('analysis', '无分析内容') analysis_html = "" for line in analysis_text.split('\n'): if line.strip(): analysis_html += f"{line}
" deep_reports_html += f"""TOP{report_data['rank']}{report_data['title']}{report_data['source']} 评分: {report_data.get('score', 0):.1f}...[truncated 3169 chars]- Remediation
View remediation
