Skip to main content

JoomGallery CVE-2026-66917

| EUVDEUVD-2026-64248 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-22 Joomla GHSA-8vxv-gf52-gm5h
8.6
CVSS 4.0 · Vendor: Joomla
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Acquire privileged Joomla CMS credentials
  2. Delivery
    Authenticate to Joomla back-end
  3. Exploit
    Inject XSS payload into JoomGallery image field
  4. Install
    Payload persists in database
  5. C2
    Victim browses affected gallery page
  6. Execute
    Browser executes attacker JavaScript
  7. Impact
    Victim session token exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated account with privileged access to the JoomGallery extension's image management back-end within the Joomla CMS - the CVE description explicitly states 'authenticated, privileged', consistent with the CVSS PR:H metric. The attacker must have write access to image records (titles, descriptions, or other stored fields rendered to visitors). No special server configuration or non-default settings are required beyond having the JoomGallery extension installed and active. Limiting factors: the PR:H prerequisite means an attacker must first acquire high-privilege Joomla credentials, which is a meaningful barrier; the payload affects all gallery visitors passively (no victim interaction beyond visiting the page), which amplifies impact once planted. The vulnerability does not apply to unauthenticated users or low-privilege Joomla roles without image management rights.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) scores 8.6, but several metric choices warrant scrutiny. PR:H correctly reflects the privileged-account prerequisite, which is a genuine barrier to exploitation. However, UI:N is inconsistent with stored XSS semantics: the attacker does not require interaction, but victims must passively browse the affected page - in CVSS 4.0 this maps to UI:P. The impact metrics (VC:H/VI:H/VA:H with SC:N/SI:N/SA:N) appear inverted for XSS: stored XSS primarily affects subsequent systems (victim browsers) rather than the vulnerable Joomla application itself, so SC:L/SI:L would be more representative while VC/VI/VA should be lower. The net real-world risk is moderate: the PR:H gate limits opportunistic mass exploitation, as an attacker must first compromise a high-privilege CMS account (via credential theft, phishing, or brute force) before planting the payload. No KEV listing, no POC, and EPSS data is absent from the provided input - these signals collectively suggest this is not currently under active exploitation. The persistent, visitor-impacting nature of stored XSS elevates urgency above reflected XSS for affected sites.

Exploit ScenarioDerived

An attacker who has obtained administrator or privileged editor credentials - through phishing, credential stuffing, or a separate account takeover - logs into the Joomla back-end and edits an image in JoomGallery, injecting a JavaScript payload (e.g., a cookie-stealing script pointing to an attacker-controlled server) into an unsanitized image field. Every site visitor who subsequently views that gallery page has their session cookie silently exfiltrated, enabling the attacker to hijack visitor sessions and escalate further. No public proof-of-concept code has been identified, but stored XSS exploitation of this type is a well-understood technique requiring no specialized tooling.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 22, 2026

Stored cross-site scripting in JoomGallery (Joomla extension by joomgalleryfriends.net) versions prior to 4.3.1 allows a privileged authenticated attacker to inject a persistent JavaScript payload into image metadata, which then executes in the browser of every subsequent visitor who views that image or gallery. The attacker plants the payload once and it fires automatically for all future visitors, making this a force-multiplier attack despite the high-privilege prerequisite. No public exploit or active exploitation via CISA KEV has been identified at time of analysis; the fix is upgrading to version 4.3.1.

RemediationAI

Upgrade JoomGallery to version 4.3.1 or later, which is the vendor-indicated fix boundary per the CVE description. Consult the vendor advisory at https://www.joomgalleryfriends.net/ for release notes and direct download links. If immediate upgrade is not feasible, restrict back-end access to the JoomGallery image management interface to the minimum required set of administrator accounts and enforce multi-factor authentication on those accounts, reducing the likelihood that a privileged account can be compromised to plant the payload. Additionally, deploying a Content Security Policy (CSP) header that restricts inline script execution can limit the impact of stored XSS payloads even if they are present, though CSP configuration must be tested carefully to avoid breaking legitimate gallery functionality. Review existing gallery images for unexpected script tags or event handler attributes as a forensic check.

Affected VersionsENISA

JoomGallery extension for Joomla 4.0.0-4.3.0

Affected Packages

euvd joomgallery_extension_for_joomla no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

JoomGallery is a third-party image gallery extension for the Joomla CMS, identified by CPE cpe:2.3:a:joomgalleryfriends.net:joomgallery_extension_for_joomla:*:*:*:*:*:*:*:*. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic stored XSS pattern: user-supplied input - here tied to image fields such as title, description, or other metadata - is persisted to the database without adequate sanitization and subsequently rendered in HTML context without proper output encoding. When a visitor's browser renders the gallery page, the injected script executes in their session, under the origin of the Joomla site. The attack surface is the CMS back-end image management interface accessible to privileged roles (e.g., administrators or editors with gallery management rights).

Know when Joomgallery Extension For Joomla gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Joomla) PRIMARY 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

PR:H reflects required privileged account; UI:R captures passive victim browsing; S:C and C:L/I:L model session theft in victim browsers.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Joomla).

CVSS VectorVendor: Joomla

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Joomla Extension - joomgalleryfriends.net - Stored XSS in JoomGallery < 4.3.1 - An authenticated, privileged can store an XSS payload in any image causing JS execution in every visitor's browser.

Executive ViewAI

Why It Matters

JoomGallery for Joomla is vulnerable to persistent cross-site scripting attacks in image metadata; no public exploit identified at time of analysis. Attackers with privileged account access can inject malicious code that executes automatically for every subsequent gallery viewer, creating a site-wide compromise affecting all users. Organizations running affected versions expose their entire user base and potentially customer data to browser-based injection attacks.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
popular Joomla image gallery extension, Joomla sites only
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy