Tainted flow: 'updated' from pathlib.Path.read_text (line 259, file read) → pathlib.Path.write_text (file write)
Medium
- Category
- Data Flow
- Content
print("ERROR: #globalLogoGroup block not found", file=sys.stderr) return 1 updated = LOGO_BLOCK_RE.sub(logo_block, updated, count=1) html_path.write_text(updated, encoding="utf-8") print(f"Updated branding in {html_path}") print(f"title: {final_title}")- Confidence
- 65% confidence
- Finding
- html_path.write_text(updated, encoding="utf-8")
