- Analyzer
- python-engine/injection
- Category
- Injection
- Default severity
- MEDIUM
- CWE
- CWE-79
- Execution
- Passive
- Authentication
- Not required
- Applicability
- javascript, typescript
- Availability
- stable
What it detects
Unsafe use of document.write() — XSS risk: an injection check run by the python-engine/injection analyzer.
Evidence
Evidence is analyzer-defined.
Remediation
No rule-specific remediation is encoded in the current contract.
Limitations
This check is limited to the applicability and evidence delivered by python-engine/injection. Review the evidence in context; a match is a finding input, while confidence and policy determine its disposition.
Related reference
Analyzer Registry · Findings and release decisions · Policy and confidence
Checks sharing a CWE
Remediation guidance: Remediation and fix verification · Baselines and suppressions