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.
Published: 2026-10-27
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Data exfiltration via crafted SVG
Action: Apply patch
AI Analysis

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.

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

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 yet.

History

Tue, 27 Oct 2026 11:15:00 +0000

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'}


Subscriptions

Svg-sanitizer Project Svg-sanitizer
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-27T10:59:33.466Z

Reserved: 2026-10-27T10:33:39.045Z

Link: CVE-2026-117539

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-27T11:17:34.640

Modified: 2026-10-27T11:17:34.760

Link: CVE-2026-117539

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T12:30:02Z

Weaknesses
  • CWE-79

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