Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-11112-XXE-via-SVG-Image-Upload | Kitploit
Tools/GitHubGitHub/george0papasotiriou/cve-2026-11112-xxe-via-svg-image-upload
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubgeorge0papasotiriou/cve-2026-11112-xxe-via-svg-image-upload

CVE-2026-11112-XXE-via-SVG-Image-Upload

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
17 days agoNot yet reviewed

CVE-2026-11112 – XXE via SVG Image Upload

Program Code (Python Flask + XML parser)

root@kitploit:~
# xxe_upload_server.py - Uploads SVG, renders with lxml resolving entities
from flask import Flask, request
from lxml import etree

app = Flask(__name__)

@app.route('/upload', methods=['POST'])
def upload_svg():
    svg_data = request.data
    # Vulnerable: parses with entity resolution enabled
    parser = etree.XMLParser(resolve_entities=True, no_network=False)
    doc = etree.fromstring(svg_data, parser)
    # Extract something from SVG
    return etree.tostring(doc)

if __name__ == '__main__':
    app.run(port=5000)

CVE-2026-11112 – XML External Entity (XXE) Injection via SVG Upload

Severity: Critical

Overview

A web application accepts SVG image uploads and parses them with a vulnerable XML parser that has external entity resolution enabled. An attacker can embed an XXE payload to read local files, perform SSRF, or cause denial of service.

Vulnerability Details

  • Type: XXE Injection
  • Impact: Arbitrary file read, internal network scanning.
  • Root Cause: The XML parser is configured with resolve_entities=True and network access, allowing expansion of external entities.

Exploit Demonstration

  1. Start the upload server:
    root@kitploit:~
    pip install flask lxml
    python xxe_upload_server.py
    
  2. Run the exploit:
    root@kitploit:~
    python exploit_xxe_svg.py
    
Download Tool