CVE-2026-40301 | rhukster dom-sanitizer up to 1.0.9 DOM/SVG/MathML DOMSanitizer::sanitize cross site scripting (GHSA-93vf-569f-22cq)
VulDBArchived Apr 18, 2026✓ Full text saved
A vulnerability marked as problematic has been reported in rhukster dom-sanitizer up to 1.0.9 . Affected by this issue is the function DOMSanitizer::sanitize of the component DOM/SVG/MathML . This manipulation causes cross site scripting. This vulnerability is tracked as CVE-2026-40301 . The attack is possible to be carried out remotely. No exploit exists. It is suggested to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358118 · CVE-2026-40301 · GHSA-93VF-569F-22CQ
RHUKSTER DOM-SANITIZER UP TO 1.0.9 DOM/SVG/MATHML DOMSANITIZER::SANITIZE CROSS SITE SCRIPTING
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
4.4 $0-$5k 2.09+
Summaryinfo
A vulnerability described as problematic has been identified in rhukster dom-sanitizer up to 1.0.9. This affects the function DOMSanitizer::sanitize of the component DOM/SVG/MathML. Such manipulation leads to cross site scripting. This vulnerability is listed as CVE-2026-40301. The attack may be performed from remote. There is no available exploit. Upgrading the affected component is recommended.
Detailsinfo
A vulnerability was found in rhukster dom-sanitizer up to 1.0.9. It has been rated as problematic. Affected by this issue is the function DOMSanitizer::sanitize of the component DOM/SVG/MathML. The manipulation with an unknown input leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Impacted is integrity. CVE summarizes:
DOMSanitizer is a DOM/SVG/MathML Sanitizer for PHP 7.3+. Prior to version 1.0.10, DOMSanitizer::sanitize() allows elements in SVG content but never inspects their text content. CSS url() references and @import rules pass through unfiltered, causing the browser to issue HTTP requests to attacker-controlled hosts when the sanitized SVG is rendered. Version 1.0.10 fixes the issue.
The advisory is available at github.com. This vulnerability is handled as CVE-2026-40301 since 04/10/2026. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1059.007 by the MITRE ATT&CK project.
Upgrading to version 1.0.10 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 49a98046b708a4c92f754f5b0ef1720bb85142e2 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Vendor
rhukster
Name
dom-sanitizer
Version
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
License
open-source
Website
Product: https://github.com/rhukster/dom-sanitizer/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 4.5
VulDB Meta Temp Score: 4.4
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 4.7
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: dom-sanitizer 1.0.10
Patch: 49a98046b708a4c92f754f5b0ef1720bb85142e2
Timelineinfo
04/10/2026 CVE reserved
04/17/2026 +7 days Advisory disclosed
04/17/2026 +0 days VulDB entry created
04/17/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-93vf-569f-22cq
Status: Confirmed
CVE: CVE-2026-40301 (🔒)
GCVE (CVE): GCVE-0-2026-40301
GCVE (VulDB): GCVE-100-358118
Entryinfo
Created: 04/17/2026 23:47
Changes: 04/17/2026 23:47 (69)
Complete: 🔍
Cache ID: 99:0A6:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸