CVE-2026-117539

darylldoyle svg-sanitizer before 1.0.0 CSS Injection and Remote Reference Bypass

Published Oct 27, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
darylldoyle svg-sanitizer before 1.0.0 contains CSS injection and remote reference bypass vulnerabilities that allow attackers to embed external resources by uploading crafted SVG files. Attackers can use unsanitized style content, unquoted url() values, or image href attributes to exfiltrate page data, track users, or disclose visitor IP addresses.

Analysis

AI-generated

Technical impact

The vulnerability exists in darylldoyle svg-sanitizer versions before 1.0.0 and allows CSS injection and remote reference bypass. Unsanitized style content, unquoted url() values, and unescaped image href attributes enable an attacker to embed external resources in an SVG file. This can lead to page data exfiltration, user tracking, or disclosure of visitor IP addresses.

Affected Systems

Affected systems are applications that incorporate the svg-sanitizer library prior to 1.0.0, specifically darylldoyle svg-sanitizer before 1.0.0. No other vendors or products are listed as affected.

Risk and Exploitability

The CVSS score is 5.1, indicating moderate risk, and the EPSS score is unavailable, making exploitation probability uncertain. The vulnerability is not listed in CISA KEV. Attackers can exploit this by uploading a crafted SVG file to a system that uses the vulnerable library for sanitization. No remote code execution is possible, but data disclosure and tracking constitute the main security concern.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade svg-sanitizer to version 1.0.0 or later.
  • If an upgrade is not immediately possible, restrict or disable SVG uploads and enforce strict MIME type validation while stripping style tags before processing.
  • Add a Content Security Policy that blocks external resources and disallows inline styles to limit the effect of any residual injection.
  • Validate or whitelist URLs to prevent remote reference bypass.

Generated by OpenCVE AI on October 27, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Darylldoyle
Darylldoyle svg-sanitizer
Vendors & Products Darylldoyle
Darylldoyle svg-sanitizer
Type Values Removed Values Added
Description darylldoyle svg-sanitizer before 1.0.0 contains CSS injection and remote reference bypass vulnerabilities that allow attackers to embed external resources by uploading crafted SVG files. Attackers can use unsanitized style content, unquoted url() values, or image href attributes to exfiltrate page data, track users, or disclose visitor IP addresses.
Title darylldoyle svg-sanitizer before 1.0.0 CSS Injection and Remote Reference Bypass
First Time appeared Svg-sanitizer Project
Svg-sanitizer Project svg-sanitizer
Weaknesses CWE-79
CPEs cpe:2.3:a:svg-sanitizer_project:svg-sanitizer:*:*:*:*:*:*:*:*
Vendors & Products Svg-sanitizer Project
Svg-sanitizer Project svg-sanitizer
References
Metrics cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 2, 2026, 3:51 PM
Reserved
Oct 27, 2026, 10:33 AM
Status
Deferred
Published
Oct 27, 2026, 11:17 AM
Modified
Nov 2, 2026, 4:17 PM