Skip to main content

Phoca Gallery EUVDEUVD-2026-130495

| CVE-2026-129418 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-19 Joomla GHSA-p3f5-57c4-j4hp
7.5
CVSS 4.0 · Vendor: Joomla
View

Attack ChainAIDerived

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

  1. Access
    Obtain frontend upload account
  2. Delivery
    Submit malicious YouTube URL via upload feature
  3. Exploit
    Unescaped video ID stored in gallery
  4. Execution
    Victim opens gallery detail view
  5. Impact
    Injected HTML/script executes in browser

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 (1) an account with frontend upload permission in the Phoca Gallery extension - this is a privileged, authenticated prerequisite (CVSS PR:L), not anonymous access; (2) use of the specific YouTube upload feature, whose supplied video URL is not validated before the derived video ID is embedded unescaped into the gallery detail view; and (3) a victim subsequently viewing the affected gallery detail page (UI:P), since stored XSS only fires on render. Limiting factors: sites that do not grant frontend upload rights to untrusted users, or do not use the YouTube embedding feature, are not realistically exposed. Affected versions are 4.2.0 through 6.1.6; upgrading to 6.1.7 is the vendor-stated fix.

Impact

This is a stored (persistent) cross-site scripting flaw (CWE-79) in the Phoca Gallery Joomla extension, versions 4.2.0 through 6.1.6. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:P) indicates a network-reachable but privileged and interaction-dependent issue: an attacker must already hold frontend upload permission (PR:L), and a victim must view the gallery detail page (UI:P) for the payload to fire. The vendor-assigned score is 7.5 (High), driven by VC:H/VI:H, though those high confidentiality/integrity values are aggressive for an attribute-injection XSS - my independent assessment lands lower (see assessed vector). No EPSS score is provided, the CVE is NOT in CISA KEV, and no public exploit or proof-of-concept is referenced, so there is no public exploit identified at time of analysis. The vuln.today decision label is 'this_week' rather than act_now/emergency, consistent with a patch-promptly-but-not-emergency posture. Net: this is a credible, patch-this-week issue - the authentication requirement (contributor-level frontend upload) and need for victim interaction meaningfully limit it below the raw CVSS 7.5, making it a priority primarily for sites that grant untrusted users frontend upload rights.

Exploit ScenarioDerived

An attacker holding frontend upload permission uses the Phoca Gallery YouTube upload feature and supplies a crafted 'YouTube' URL whose derived video ID contains HTML attribute-breaking characters; because the ID is embedded without escaping, it injects attacker-controlled HTML attributes into the gallery detail view. When a site visitor or administrator later opens that gallery item, the injected markup renders in their browser session. No public proof-of-concept is referenced, and exploitation requires the attacker to already have an upload-capable account plus a victim viewing the page.

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

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

Alert me

AnalysisAIv1 – Nov 19, 2026

Stored cross-site scripting in the Phoca Gallery extension for Joomla (versions 4.2.0 through 6.1.6) allows authenticated users who hold frontend upload permission to inject HTML attributes into the gallery detail view by supplying a crafted YouTube video URL that the extension fails to validate before deriving and embedding the video ID unescaped. The injected payload persists and executes in the browser of any visitor who later opens the affected gallery detail page, enabling session or content manipulation within that user's context; sites that do not grant frontend upload rights to untrusted users, or that do not use the YouTube embedding feature, are not realistically exposed. No public exploit code or active exploitation has been identified at time of analysis, and the vendor has released Phoca Gallery 6.1.7 as the security fix.

RemediationAI

Upgrade Phoca Gallery to version 6.1.7, the vendor-released patch announced in the security release notice at https://www.phoca.cz/news/1541-phoca-gallery-version-6-1-7-has-been-released-security-release; this is the only complete fix, and it should be scheduled this week per the current priority assessment. If upgrading cannot be completed immediately, the exposure can be reduced by reviewing Joomla ACL settings and removing frontend upload permission from any group whose members are not fully trusted, with the trade-off that legitimate contributor upload workflows stop working for those groups; alternatively, discontinue use of the YouTube embedding feature in gallery items until the patch is applied, accepting the loss of the embedded-video functionality. After patching, it is worth reviewing previously submitted gallery items that reference YouTube URLs for injected attribute content, since the payloads are stored in existing records and are not removed by the version upgrade alone.

Affected VersionsENISA

Phoca Gallery extension for Joomla 4.2.0-6.1.6

Affected Packages

euvd phoca_gallery_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

Phoca Gallery is a PHP image-gallery component for the Joomla CMS, distributed by phoca.cz, and this issue is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. cross-site scripting). The vulnerable code path is the extension's YouTube upload/embedding feature: the supplied video URL is parsed to derive a video identifier, but that derived value is neither validated against an expected identifier format nor output-encoded when written into the gallery detail view markup in versions 4.2.0 through 6.1.6. Because the value is placed into an HTML attribute context without escaping, a user with frontend upload permission can break out of the intended attribute and introduce additional attributes or event handlers, producing a persistent (stored) script execution condition whenever the detail page is rendered. The flaw requires an authenticated account with upload privileges (CVSS PR:L) and interaction by a victim viewing the page (UI:P/UI:R), and the assessed CVSS 3.1 vector (S:C/C:L/I:L/A:N) reflects impact scoped to the victim's browser session rather than to the server itself. The exact parsing routine and the specific output location are implementation details not enumerated in the available sources beyond the vendor's statement that the video URL was not validated and the derived ID was embedded without escaping.

Know when Phoca Gallery 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 7.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated frontend-upload attacker (PR:L) and victim must view the page (UI:R); stored XSS executes in the victim's browser context (S:C) with limited confidentiality/integrity impact and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/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
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Joomla Extension - phoca.cz - Stored XSS through YouTube links in Phoca Gallery extension 4.2.0-6.1.6 - The YouTube upload feature did not validate the supplied video URL and embedded the derived video ID without escaping, allowing users with frontend upload permission to inject HTML attributes into the gallery detail view.

Executive ViewAI

Why It Matters

Phoca Gallery, a widely used Joomla extension, contains a stored cross-site scripting flaw that lets authenticated frontend uploaders inject malicious code into gallery pages visited by other users. This could lead to session hijacking or content manipulation, eroding trust in the affected site and potentially compromising user accounts or sensitive data. Leadership should prioritize patching because the vulnerability is easy to exploit and affects any site with untrusted upload permissions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
popular Joomla gallery extension, but narrower footprint than WordPress ecosystem
Data Quality
5 sources
Confidence: Medium

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.4%
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

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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