☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2024-29318

CVE-2024-29318 Cross-Site Scripting in Volmarg
📅 PUBLISHED: 2024-07-05 00:00 UTC 🔄 UPDATED: 2026-09-23 20:30 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.33%
👁️
0.33% probability
8.1× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
5.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-29318 is a stored cross-site scripting (XSS) vulnerability in Volmarg Personal Management System version 1.4.64. The application fails to sanitize SVG file uploads, allowing an authenticated attacker to inject arbitrary JavaScript code that executes in the context of any user viewing the uploaded file. This can lead to session hijacking, credential theft, or further compromise of the management system.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This is a standalone PHP application, not an NPM, PyPI, Go, or Ruby package. No supply chain implications are present.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): Low (L) – An attacker must have a valid account.
  • User Interaction (UI): Required (R) – A victim must view the malicious SVG.
  • Scope (S): Changed (C) – The impact extends beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure possible.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): None (N) – No impact on availability.

CVSS Score: 5.4 (Medium)

Threat Level: Medium. Exploitation requires authentication, but the impact is significant for internal users.

Deep Dive & Mechanics

The vulnerability resides in the file upload functionality of Volmarg Personal Management System 1.4.64. The application allows users to upload SVG images for profile pictures or document attachments. The uploaded SVG file is not sanitized for embedded JavaScript, such as <script> tags or event handlers like onload.

When a victim views the uploaded SVG (e.g., in a profile page or document viewer), the browser executes the embedded script in the context of the application's origin. This enables the attacker to:

  • Steal session cookies.
  • Perform actions on behalf of the victim.
  • Redirect to phishing pages.
  • Deface the application.

The root cause is the lack of input validation and output encoding for SVG files. The application should either strip script elements from SVGs or serve them with a Content-Type: text/plain header.

Vulnerable vs. Patched Code

Vulnerable Code (1.4.64): The file upload handler likely uses a simple MIME type check or no check at all, allowing SVG files to be stored and served directly.

// Vulnerable upload handler (pseudocode)
if (isset($_FILES['file'])) {
    $target = 'uploads/' . basename($_FILES['file']['name']);
    move_uploaded_file($_FILES['file']['tmp_name'], $target);
    // No sanitization of SVG content
}

Patched Code (Hypothetical): A secure implementation would sanitize the SVG using a library like enshrined/svg-sanitize or serve the file with a non-executable content type.

// Patched upload handler (pseudocode)
require_once 'vendor/autoload.php';
use enshrined\svgSanitize\Sanitizer;

if (isset($_FILES['file'])) {
    $sanitizer = new Sanitizer();
    $cleanSvg = $sanitizer->sanitize(file_get_contents($_FILES['file']['tmp_name']));
    $target = 'uploads/' . uniqid() . '.svg';
    file_put_contents($target, $cleanSvg);
}

Exploitation & Lab Setup

Red Team

  1. Prerequisites: Valid user account on the Volmarg Personal Management System.
  2. Craft Malicious SVG: Create an SVG file with embedded JavaScript.
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
  <rect width="100" height="100" fill="red"/>
  <script type="text/javascript">
    alert('XSS');
  </script>
</svg>
  1. Upload SVG: Log in, navigate to profile settings or document upload, and upload the SVG file.
  2. Trigger: Share the link to the uploaded SVG with a victim. When they view it, the script executes.

Blue Team

  1. Detection: Monitor file upload logs for SVG files with suspicious content (e.g., <script> tags).
  2. Prevention: Implement a Web Application Firewall (WAF) rule to block SVG uploads containing JavaScript.
  3. Response: If an SVG upload is detected, immediately remove the file and invalidate the user's session.

Indicators of Compromise (IOCs)

  • File Hashes (SHA-256): (Example – actual hash depends on payload)
    • e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  • Network Traffic: HTTP POST requests to /upload.php or similar endpoints with Content-Type: image/svg+xml.
  • Log Entries: Access logs showing requests to /uploads/malicious.svg with a Referer header from the application.
  • File Artifacts: SVG files in the uploads directory containing <script> tags or event handlers.

Detection Engineering

YARA Rule

rule CVE_2024_29318_SVG_XSS {
    meta:
        description = "Detects malicious SVG files with embedded JavaScript for CVE-2024-29318"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2024-29318"
    strings:
        $svg_header = "<?xml" nocase
        $svg_tag = "<svg" nocase
        $script_tag = "<script" nocase
        $onload = "onload=" nocase
        $onerror = "onerror=" nocase
    condition:
        $svg_header and $svg_tag and ($script_tag or $onload or $onerror)
}

Sigma Rule

title: CVE-2024-29318 SVG Upload with Embedded Script
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects upload of SVG files containing JavaScript code
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem: '/upload.php'
        cs-content-type: 'image/svg+xml'
    condition: selection
falsepositives:
    - Legitimate SVG files with metadata scripts
level: medium

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-29318 SVG XSS Upload Attempt"; flow:to_server; content:"POST"; http_method; content:"/upload.php"; http_uri; content:"image/svg+xml"; http_content_type; content:"<script"; within:1000; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable SVG file uploads in the application configuration.
  2. Short-term: Implement server-side sanitization of SVG files using a library like enshrined/svg-sanitize.
  3. Long-term: Upgrade to a patched version of the software if the vendor releases one.
  4. Compensating Controls:
    • Serve uploaded files from a separate domain or subdomain.
    • Set Content-Disposition: attachment header to force download instead of inline rendering.
    • Use a Content Security Policy (CSP) to block inline scripts.

Valters IT
Securing Digital Frontiers

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-29318/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.