{"items":[{"id":"NVI-00007648","kind":"vulnerability","title":"enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-v383-3rw5-q8rf","CVE-2026-107379"],"plain_summary":"GitHub lists this reviewed advisory for enshrined/svg-sanitize. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-4a2af4b0da77c117f2ab48d49e59cef9"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 1.0.0 for enshrined/svg-sanitize. Confirm the publisher’s latest guidance.","source_ids":["sr-e336b3f5d18e353995d5dc80e57ef3cc"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-08T19:41:06.000Z","value":"6.5 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-789b64f23499f605acd1bec2b858a980"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.525%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.44545. Missing scores are unknown.","source_id":"sr-4a2af4b0da77c117f2ab48d49e59cef9"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-789b64f23499f605acd1bec2b858a980","url":"https://github.com/advisories/GHSA-v383-3rw5-q8rf","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-v383-3rw5-q8rf","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T00:58:23.763Z"},{"id":"sr-e336b3f5d18e353995d5dc80e57ef3cc","url":"https://github.com/advisories/GHSA-v383-3rw5-q8rf","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-v383-3rw5-q8rf","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.369Z"},{"id":"sr-4a2af4b0da77c117f2ab48d49e59cef9","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-107379","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.373Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-789b64f23499f605acd1bec2b858a980"],"technology":"enshrined/svg-sanitize","known_exclusions":[],"conditions_summary":"## Summary\n\nA crafted SVG file (1009 bytes) crashes the PHP process when sanitized by `enshrined/svg-sanitize` (any version through 0.22.x). The sanitizer's `cleanAttributesOnWhitelist()` method calls `DOMElement::removeAttribute()` twice on the same attribute name — first removing the explicit attribute, then attempting to remove the DTD `#FIXED` default — triggering a PHP ext/dom type confusion that kills the PHP-FPM worker.\n\n**Affected installations:**\n- **enshrined/svg-sanitize:** 45.2M Packagist downloads, 1.3M/month, 90+ dependents\n- **WordPress Safe SVG plugin:** 1M+ active installs\n- **TYPO3:** svg-sanitize integrated into core since v9\n- **Drupal:** community module wrapping svg-sanitize\n\n## Vulnerability Details\n\n### Trigger Flow\n\n```\nSanitizer::sanitize($malicious_svg)\n  → DOMDocument::loadXML() — parses DTD, creates XML_ATTRIBUTE_DECL for #FIXED attr\n  → startClean() → cleanAttributesOnWhitelist($svgElement)\n    → \"badhref\" NOT in allowedAttrs\n    → removeAttribute(\"badhref\")          ← removes explicit attribute (safe)\n    → stripos(\"badhref\", \"href\") = TRUE\n    → getAttribute(\"badhref\")             ← returns DTD #FIXED default value\n    → isHrefSafeValue(\"javascript:x","public_affected_ranges":["<= 0.22.0"]},{"certainty":"source_listed","source_ids":["sr-e336b3f5d18e353995d5dc80e57ef3cc"],"technology":"enshrined/svg-sanitize","known_exclusions":[],"conditions_summary":"## Summary\n\nA crafted SVG file (1009 bytes) crashes the PHP process when sanitized by `enshrined/svg-sanitize` (any version through 0.22.x). The sanitizer's `cleanAttributesOnWhitelist()` method calls `DOMElement::removeAttribute()` twice on the same attribute name — first removing the explicit attribute, then attempting to remove the DTD `#FIXED` default — triggering a PHP ext/dom type confusion that kills the PHP-FPM worker.\n\n**Affected installations:**\n- **enshrined/svg-sanitize:** 45.2M Packagist downloads, 1.3M/month, 90+ dependents\n- **WordPress Safe SVG plugin:** 1M+ active installs\n- **TYPO3:** svg-sanitize integrated into core since v9\n- **Drupal:** community module wrapping svg-sanitize\n\n## Vulnerability Details\n\n### Trigger Flow\n\n```\nSanitizer::sanitize($malicious_svg)\n  → DOMDocument::loadXML() — parses DTD, creates XML_ATTRIBUTE_DECL for #FIXED attr\n  → startClean() → cleanAttributesOnWhitelist($svgElement)\n    → \"badhref\" NOT in allowedAttrs\n    → removeAttribute(\"badhref\")          ← removes explicit attribute (safe)\n    → stripos(\"badhref\", \"href\") = TRUE\n    → getAttribute(\"badhref\")             ← returns DTD #FIXED default value\n    → isHrefSafeValue(\"javascript:x","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.0.0"]}],"null_published_at":"2026-11-01T01:03:56.619Z","source_updated_at":"2026-10-08T19:41:06.000Z","source_disclosed_at":"2026-10-08T19:41:05.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:41.369Z"},{"id":"NVI-00007648","kind":"vulnerability","title":"enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-v383-3rw5-q8rf","CVE-2026-107379"],"plain_summary":"OSV carries this publisher advisory for enshrined/svg-sanitize. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.0.0 for enshrined/svg-sanitize. Confirm the publisher’s latest guidance.","source_ids":["sr-e336b3f5d18e353995d5dc80e57ef3cc"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-4a2af4b0da77c117f2ab48d49e59cef9"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.525%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.44545. Missing scores are unknown.","source_id":"sr-4a2af4b0da77c117f2ab48d49e59cef9"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-e336b3f5d18e353995d5dc80e57ef3cc","url":"https://github.com/advisories/GHSA-v383-3rw5-q8rf","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-v383-3rw5-q8rf","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.369Z"},{"id":"sr-4a2af4b0da77c117f2ab48d49e59cef9","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-107379","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.373Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-e336b3f5d18e353995d5dc80e57ef3cc"],"technology":"enshrined/svg-sanitize","known_exclusions":[],"conditions_summary":"## Summary\n\nA crafted SVG file (1009 bytes) crashes the PHP process when sanitized by `enshrined/svg-sanitize` (any version through 0.22.x). The sanitizer's `cleanAttributesOnWhitelist()` method calls `DOMElement::removeAttribute()` twice on the same attribute name — first removing the explicit attribute, then attempting to remove the DTD `#FIXED` default — triggering a PHP ext/dom type confusion that kills the PHP-FPM worker.\n\n**Affected installations:**\n- **enshrined/svg-sanitize:** 45.2M Packagist downloads, 1.3M/month, 90+ dependents\n- **WordPress Safe SVG plugin:** 1M+ active installs\n- **TYPO3:** svg-sanitize integrated into core since v9\n- **Drupal:** community module wrapping svg-sanitize\n\n## Vulnerability Details\n\n### Trigger Flow\n\n```\nSanitizer::sanitize($malicious_svg)\n  → DOMDocument::loadXML() — parses DTD, creates XML_ATTRIBUTE_DECL for #FIXED attr\n  → startClean() → cleanAttributesOnWhitelist($svgElement)\n    → \"badhref\" NOT in allowedAttrs\n    → removeAttribute(\"badhref\")          ← removes explicit attribute (safe)\n    → stripos(\"badhref\", \"href\") = TRUE\n    → getAttribute(\"badhref\")             ← returns DTD #FIXED default value\n    → isHrefSafeValue(\"javascript:x","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.0.0"]}],"null_published_at":"2026-10-31T23:18:17.264Z","source_updated_at":"2026-10-08T20:00:06.561Z","source_disclosed_at":"2026-10-08T19:41:05.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:41.369Z"},{"id":"NVI-00007648","kind":"vulnerability","title":"enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-v383-3rw5-q8rf","CVE-2026-107379"],"plain_summary":"OSV carries this publisher advisory for enshrined/svg-sanitize. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.0.0 for enshrined/svg-sanitize. Confirm the publisher’s latest guidance.","source_ids":["sr-e336b3f5d18e353995d5dc80e57ef3cc"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-e336b3f5d18e353995d5dc80e57ef3cc","url":"https://github.com/advisories/GHSA-v383-3rw5-q8rf","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-v383-3rw5-q8rf","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.369Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-e336b3f5d18e353995d5dc80e57ef3cc"],"technology":"enshrined/svg-sanitize","known_exclusions":[],"conditions_summary":"## Summary\n\nA crafted SVG file (1009 bytes) crashes the PHP process when sanitized by `enshrined/svg-sanitize` (any version through 0.22.x). The sanitizer's `cleanAttributesOnWhitelist()` method calls `DOMElement::removeAttribute()` twice on the same attribute name — first removing the explicit attribute, then attempting to remove the DTD `#FIXED` default — triggering a PHP ext/dom type confusion that kills the PHP-FPM worker.\n\n**Affected installations:**\n- **enshrined/svg-sanitize:** 45.2M Packagist downloads, 1.3M/month, 90+ dependents\n- **WordPress Safe SVG plugin:** 1M+ active installs\n- **TYPO3:** svg-sanitize integrated into core since v9\n- **Drupal:** community module wrapping svg-sanitize\n\n## Vulnerability Details\n\n### Trigger Flow\n\n```\nSanitizer::sanitize($malicious_svg)\n  → DOMDocument::loadXML() — parses DTD, creates XML_ATTRIBUTE_DECL for #FIXED attr\n  → startClean() → cleanAttributesOnWhitelist($svgElement)\n    → \"badhref\" NOT in allowedAttrs\n    → removeAttribute(\"badhref\")          ← removes explicit attribute (safe)\n    → stripos(\"badhref\", \"href\") = TRUE\n    → getAttribute(\"badhref\")             ← returns DTD #FIXED default value\n    → isHrefSafeValue(\"javascript:x","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.0.0"]}],"null_published_at":"2026-10-31T22:13:18.628Z","source_updated_at":"2026-10-08T20:00:06.561Z","source_disclosed_at":"2026-10-08T19:41:05.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:41.369Z"}],"next_cursor":null,"snapshot_revision":"40769"}