Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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-2026-47423-dompurify-xss-detector — Go-based scanner that detects DOMPurify sanitizer bypass (CVE-2026-47423) via logic fingerprinting on minified production JavaScript bundles, identifying unpatched allowed-tag layouts. | Kitploit
Tools/GitHubGitHub/galaxy-sc/cve-2026-47423-dompurify-xss-detector
Static AnalysisVulnerability ScannersExploitationWeb SecurityPenetration Testing
GitHubgalaxy-sc/cve-2026-47423-dompurify-xss-detector

CVE-2026-47423-dompurify-xss-detector

Go-based scanner that detects DOMPurify sanitizer bypass (CVE-2026-47423) via logic fingerprinting on minified production JavaScript bundles, identifying unpatched allowed-tag layouts.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
23 months agoNot yet reviewed
Share

DOMPurify < 3.4.5 Sanitizer Bypass Detection Tool (Go)

A lightweight, high-performance scanner written in Go to detect production deployments of DOMPurify vulnerable to a complete sanitizer bypass via the <selectedcontent> re-clone logic flaw.

Instead of relying on easily stripped source comments or version variables, this tool performs logic fingerprinting on minified production JavaScript bundles to identify unpatched allowed-tag layouts.

Vulnerability Summary

In DOMPurify versions up to 3.4.4, the <selectedcontent> element was allowed by default. This introduces a logic flaw where Chromium/WebKit browsers refresh and re-clone the <selectedcontent> subtree after DOMPurify has already executed its sanitization pass, leading to an absolute XSS bypass when the payload is injected into the live DOM.

Features

  • Framework-agnostic (Works with React, Vue, Angular, or Vanilla JS bundle structures)
  • Automated dynamic JS asset parsing from root paths
  • Case-insensitive static analysis on compiled production code

Proof of Concept

Exploit Output Screenshot

Usage

root@kitploit:~
# Clone the repository
git clone https://github.com/Galaxy-sc/CVE-2026-47423-dompurify-xss-detector.git
cd CVE-2026-47423-dompurify-xss-detector

# Run against a target using parameters
go run CVE-2026-47423.go -u https://example.com

Remediation

Update dompurify to version 3.4.5 or higher via your package manager:

root@kitploit:~
npm install [email protected]

If an immediate upgrade is not feasible, manually block the tag in your config layout:

root@kitploit:~
DOMPurify.sanitize(userInput, { FORBID_TAGS: ['selectedcontent'] });
Download Tool