VvvebJs: Stored Cross-Site Scripting via SVG file upload (CVE-2026-5615)
VvvebJs versions 2.0.5 and earlier are vulnerable to stored cross-site scripting due to improper sanitization of uploaded SVG files containing embedded JavaScript.
CVE search metadata
CVE search record: CVE-2026-5615. Severity: medium. CVSS: 4.3. EPSS: 1.00%. KEV: no. Product: VvvebJs (<= 2.0.5). Brief: VvvebJs: Stored Cross-Site Scripting via SVG file upload (CVE-2026-5615). Brief link: https://feed.craftedsignal.io/briefs/2026-10-vvvebjs-xss/
Triage facts
Revision 1- Applicability
- VvvebJs (<= 2.0.5)
- Evidence
- Unknown
- Severity
- Low
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Oct 24, 04:05 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- B3Likely
VvvebJs up to version 2.0.5 is vulnerable to stored cross-site scripting (XSS) via the upload of malicious SVG files. Attackers can embed JavaScript within an SVG file, which is subsequently executed in the browser of a victim who views the file. A proof-of-concept (PoC) exploit has been published publicly, increasing the risk of exploitation.
Attack Chain
- Attacker crafts an SVG file containing embedded JavaScript payloads.
- Attacker interacts with the VvvebJs upload interface to submit the crafted SVG file.
- The application processes the multipart form-data request and saves the file to the web directory without sufficient sanitization.
- The uploaded file becomes publicly accessible via a direct URL.
- The attacker lures an authenticated user or administrator to navigate to the URL of the uploaded SVG file.
- The victim's browser renders the SVG, triggering the execution of the embedded JavaScript in the context of the VvvebJs domain.
Impact
Successful exploitation allows for execution of unauthorized JavaScript in a victim's session, which may lead to account takeover, sensitive data theft, or unauthorized actions performed on behalf of the user.
Recommendation
- Upgrade all VvvebJs instances to a version later than 2.0.5.
- Implement strict server-side validation for file uploads to allow only non-executable formats and enforce strict MIME type checking.
- Configure a robust Content Security Policy (CSP) to restrict the execution of inline scripts and unauthorized sources.
- Sanitize SVG files upon upload using established security libraries before storing them on the server.
- If possible, host user-uploaded files on a separate, sandboxed domain to limit the impact of XSS.
Immediate actions
Upgrade VvvebJs to a version greater than 2.0.5.
Threat Hunt
Monitor web server access logs for requests to uploaded file directories (e.g., /uploads/, /media/) that coincide with suspicious referrers or unexpected user agents.
Data: webserver access logs
Mitigations
Enforce strict MIME type validation and implement a restrictive Content Security Policy (CSP).
CVE-2026-5615