Context-Inappropriate Capability
Medium
- Confidence
- 94% confidence
- Finding
- This code copies all external relationships from template parts into the generated DOCX without validation or restriction. In OOXML, external relationships can point to remote resources or linked content, so a malicious template can cause the produced document to retain outbound references that trigger network access, leak metadata, or load attacker-controlled content when the document is opened.
