Inventorying DOMPurify references without mistaking them for vulnerable clients
Inventorying DOMPurify references without mistaking them for vulnerable clients DOMPurify usually runs in a browser or server-side rendering layer, so it rarely appears as a network service fingerprint. A ZoomEye count
Inventorying DOMPurify references without mistaking them for vulnerable clients
DOMPurify usually runs in a browser or server-side rendering layer, so it rarely appears as a network service fingerprint. A ZoomEye count can still help find public sites and applications that mention the library, but the result describes page evidence. It does not prove that a host runs a vulnerable version or that a second template parse exists.
Query and observation
ZoomEye was queried with:
(http.body="DOMPurify" || title="DOMPurify" || app="DOMPurify")
The count-only request used sub_type=all, page 1 and page size 1. At 2026-12-04T00:43:57.981335Z, it observed 654,637 matching records.
The number is large because ordinary mentions, documentation, status pages and bundled JavaScript can match the search. The title and application alternatives do not establish package installation. The result is best treated as a broad public-page census for further filtering, not a list of affected users.
Reading the signal
A page that includes DOMPurify may display only a copied library name or a documentation page from the vendor. An application that actually invokes the sanitizer needs code-level confirmation. Analysts should move from the public page to the organization's own asset records, dependency manifests and front-end source inventory.
The vulnerable path also requires SAFE_FOR_TEMPLATES: true and a later DOM template compilation. Public scanning cannot see either condition reliably. A page can run DOMPurify without the risky configuration, and a page can reference it without using it for user content.
A practical inventory sequence
Start with public sites owned by the organization and map the domain and certificate records to internal teams. Ask each team whether it ships DOMPurify and which version its lockfile resolves. For positive findings, locate calls to sanitize() and trace where the returned string goes. Treat insertion into Vue in-DOM templates or AngularJS compilation as a higher priority than static display.
Use ZoomEye to monitor changes in the public page footprint around known user-content features. A new page that begins to reference the sanitizer can prompt a code review even before a network scanner has a package-level finding. Keep the query and observation time with the evidence so later counts are not compared as if they came from a stable, exhaustive index.
Conclusion
The measured 654,637 records show that DOMPurify signals are common on public pages. The useful conclusion is narrower: ZoomEye can help map where the library family appears, while dependency and source review must determine version, configuration and exploitability. Teams should not label 654,637 assets as vulnerable.
References
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.