Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach endpoint accepting SVG upload
-
ExploitSubmit truncated SVG ending in '<'
-
ExecutionTrigger uncaught ValueError in findProblemBeforeParsing()
-
ImpactCrash the request (denial of service)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Requires: (1) the target running svg-sanitizer (enshrined/svg-sanitize) at version 1.1.0 with default settings; (2) the application passing attacker-controlled input to sanitize(); (3) PHP 8, where the bug surfaces as an uncaught ValueError. The trigger is specific: SVG input that ends inside a never-closed tag - smallest case a lone '<' (also '<a', '<svg', '<svg></svg><', or an SVG truncated mid-tag; the DOCTYPE path triggers with UTF-16/UTF-32 input cut inside a DOCTYPE) - which makes $offset point one past the end and breaks the strpos() scan at Sanitizer.php:770 (hasElementWithTooManyAttributes) or :731 (hasInternalDtdSubset). LIMITING FACTORS: on PHP 7 sanitize() returns false (no crash) unless the app converts warnings to exceptions; on PHP 8 the crash only propagates if the app does not catch Error/ValueError, as a catch(\Exception) wrapper will NOT stop it; impact is confined to failing the individual request with no persistent service outage. |
| Impact | This is a genuine but bounded availability issue, not a critical priority. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 6.9 and correctly captures that a remote, unauthenticated attacker can trigger the flaw over the network with low complexity and no user interaction, but every impact metric except VA is None (VA:L). The real-world effect is narrow: per the GHSA advisory, sanitize() throws an uncaught ValueError on PHP 8 so the single request processing the malformed SVG fails; there is no code execution, data exposure, or integrity loss, and nothing persists across requests. No EPSS score was provided and the CVE is not on CISA KEV, so there is no signal of widespread active exploitation - exploitation status is best described as no confirmed active exploitation, with a proof-of-concept published in the vendor advisory. The vuln.today decision label is this_month, consistent with a low-impact DoS rather than an emergency. Key caveat: impact depends on the host application - an app that wraps sanitize() in catch (\Exception) does NOT catch ValueError (it extends Error, not Exception), so the request fails; on PHP 7 the call returns false unless an error handler promotes the warning to an exception. Whether this is exploitable at all is therefore conditional on PHP version and application error handling, not on svg-sanitizer alone. |
| Exploit ScenarioDerived | An attacker finds any endpoint of a PHP 8 application that passes untrusted, user-supplied SVG to svg-sanitizer 1.1.0's sanitize() with default settings. They submit a truncated payload ending inside an unclosed tag (as small as a single '<', or a DOCTYPE cut inside a UTF-16 stream), raising an uncaught ValueError from strpos() in findProblemBeforeParsing() and crashing the request. A working proof-of-concept is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 03, 2026
svg-sanitizer 1.1.0 can fail individual PHP 8 requests when an application passes attacker-controlled SVG input that ends inside an unclosed tag, with a lone '<' being the smallest trigger; the resulting uncaught ValueError escapes catch (Exception) handlers and aborts the request. The impact is availability-only and bounded to the affected request, and the vendor fixes it in 1.1.1. A public PoC reference exists; it is not verified as working exploit code, and no confirmed active exploitation is reported in the supplied data.
RemediationAI
Upgrade to svg-sanitizer 1.1.1, the vendor-released patch, as documented in GHSA-f7cw-vfxq-7ph2. If an immediate upgrade is not possible, wrap sanitize() in catch (Throwable) or catch (Error)/catch (ValueError) rather than catch (Exception); the trade-off is that this can also swallow unrelated engine errors. Validate or reject SVG input that ends inside an unclosed tag before calling sanitize(), and on PHP 7 avoid warning-to-exception handlers for this path; these are compensating controls, not complete fixes. Restricting or disabling untrusted SVG uploads until the upgrade removes exposure at the cost of the upload feature. Vendor advisory: https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-f7cw-vfxq-7ph2; VulnCheck advisory: https://www.vulncheck.com/advisories/svg-sanitizer-from-1.1.0-before-1.1.1-denial-of-service-via-unclosed-tag.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the enshrined/svg-sanitize PHP library, identified in the supplied CPE as cpe:2.3:a:darylldoyle:svg-sanitizer:*:*:*:*:*:*:*:* and narrowed by the GHSA to release 1.1.0. In 1.1.0, findProblemBeforeParsing() runs hasElementWithTooManyAttributes() and hasInternalDtdSubset() before sanitize()'s try block; when the input ends inside an unclosed tag, the scan sets $offset one past the string end and strpos() is called with an out-of-range offset at Sanitizer.php:770 or :731. On PHP 8 this raises ValueError, which is not an Exception, so catch (Exception) does not contain it; on PHP 7 the same input produces a warning and false, unless the application escalates warnings to exceptions. CWE-248 (Uncaught Exception) matches the root cause; the DOCTYPE path requires UTF-16 or UTF-32 input cut inside a DOCTYPE. The supplied CVSS 4.0 vector is network-reachable with no privileges or user interaction and low availability impact, and the independent CVSS 3.1 assessment is AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, consistent with a request-level denial of service rather than a persistent outage.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Remote unauthenticated low-complexity trigger (AV:N/AC:L/PR:N/UI:N); no confidentiality or integrity impact and only a single request fails, so A:L.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
svg-sanitizer from 1.1.0 before 1.1.1 contains a denial of service vulnerability that allows remote attackers to crash requests by submitting SVG input ending inside an unclosed tag. Attackers can upload truncated input like a single '<' to trigger an uncaught ValueError from strpos() in hasElementWithTooManyAttributes() or hasInternalDtdSubset() on PHP 8, failing the request.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-115865
GHSA-8888-g577-32c9
NVD
CVE.org
Exploit-DB