T09 · Insecure Skill Coding Practices
- Location
scripts/openshow.py:132- Finding
Untrusted HTML Attributes Are Preserved in Automatically Opened Slideshow Output
- Content
View full analysis
{inner}", text=text)) elif name in ("section", "article", "main", "figure", "figcaption"): for child in node.children: _walk(child) else: has_block_child = any(_is_block_child(c) for c in node.children) if has_block_child: for child in node.children: _walk(child) else: text = node.get_text(strip=True) if text: blocks.append(Block(type="other", html=str(node), text=text)) ``` The preserved markup is subsequently inserted directly into the generated document: ```python def _render_slide_content(slide: Slide) - ...[truncated 3241 chars]- Remediation
View remediation
