Security
OpportunityReview DOM injection surface
Observed DOM surface signals: . This indicates a pattern to review, not confirmed XSS.
What it means
The rendered page combines DOM patterns that need defensive review: customizable <selectedcontent> elements paired with SVG or active markup inside <option>, or inline scripts connecting URL/navigation sources to HTML sinks without an apparent sanitizer. External bundles are not fully taint-tracked.
Why it matters
Newer HTML features like <selectedcontent> can clone <option> subtrees (including SVG elements), and connecting untrusted URL parameters directly to innerHTML or insertAdjacentHTML can reintroduce DOM XSS even when basic checks miss it.
How to fix it
Replace HTML-writing sinks like innerHTML, outerHTML, insertAdjacentHTML, and document.write with textContent or explicit DOM node creation. Inside customizable <select>/<selectedcontent> controls, keep <option> content limited to plain text or trusted, sanitized markup without inline scripts or event handlers, and enforce a strict Content-Security-Policy without unsafe-inline.
Context and verification scope
- Category
- Security
- Typical severity
- Opportunity
- Inspection scope
- Submitted public URL and up to 4 priority internal pages (read-only)
- Verification step
- Deploy your change and run a fresh scan to verify this check passes on the affected page.
Check your own site
Run the available checks on your live site and see what deserves attention.
