CVE-2026-60034 in JMedia Plugininfo

Summary

by MITRE • 07/20/2026

The Joomla extension JMedia is vulnerable to a stored XSS vulnerability. Unsanitised SVG uploads served without nosniff, leading to stored/reflected XSS.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 07/21/2026

The vulnerability in the Joomla extension JMedia represents a critical security flaw that exploits improper input validation and output sanitization mechanisms within web applications. This stored cross-site scripting vulnerability arises from the extension's failure to adequately sanitize user-uploaded content, specifically allowing maliciously crafted SVG files to be stored on the server and subsequently served to other users without proper security headers. The absence of Content Security Policy headers and the nosniff directive creates an environment where browsers may interpret malicious content as executable scripts rather than safe markup.

The technical implementation of this vulnerability stems from the extension's handling of SVG file uploads, which are typically treated as safe due to their XML-based structure. However, modern browsers can execute JavaScript code embedded within SVG files through various attack vectors including the use of <script> elements, event handlers, or external references. When an attacker uploads a malicious SVG file containing embedded JavaScript, the extension fails to validate or sanitize these elements before storing them in the application's database or file system. The vulnerability becomes persistent when these stored files are later served to other users, creating a stored XSS scenario where victims unknowingly execute malicious code in their browsers.

The operational impact of this vulnerability extends beyond simple script execution, potentially enabling attackers to hijack user sessions, steal sensitive information, manipulate data within the application, or redirect users to malicious sites. The lack of proper security headers such as X-Content-Type-Options: nosniff means that browsers may attempt to infer content types from responses, making it easier for attackers to bypass security measures. This vulnerability particularly affects Joomla installations using the JMedia extension, where user-generated content is processed and stored without adequate protection against malicious inputs.

Security professionals should consider this vulnerability in relation to CWE-79 which specifically addresses cross-site scripting flaws, and ATT&CK technique T1566 which covers spearphishing attachments. The vulnerability demonstrates a classic weakness in input validation controls and highlights the importance of implementing proper content sanitization for all user-uploaded files. Organizations should immediately implement mitigations including strict file type validation, comprehensive SVG sanitization using libraries such as DOMPurify, enforcement of security headers including nosniff directives, and regular security auditing of third-party extensions. Additionally, implementing Content Security Policy headers can provide additional protection against script execution even if other defenses fail.

The vulnerability represents a significant risk to web application security due to its persistent nature and the potential for widespread impact across multiple users within the Joomla ecosystem. Regular updates to the JMedia extension and comprehensive security monitoring of user-uploaded content are essential defensive measures. Organizations should also consider implementing automated scanning tools that can detect malicious SVG files during upload processes, as well as establishing incident response procedures specifically tailored to address stored XSS vulnerabilities in content management systems.

Responsible

Joomla

Reservation

07/08/2026

Disclosure

07/20/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

low

Sources

Do you need the next level of professionalism?

Upgrade your account now!