Skip to main content
mySites.guru
Joomla securityJoomla 6.2.2 and 5.4.12 are out, fixing a Critical file cache flaw: update nowWhat changed
CVE-2026-129418HighCVSS 7.5CVE published 19 November 2026Added to mySites.guru 19 November 2026

Phoca Gallery (com_phocagallery) 3.1.0 to 6.1.6 - Authenticated Stored XSS via YouTube Video Link

Phoca Gallery 3.1.0 to 6.1.6 is affected by a stored cross-site scripting flaw (CWE-79) in its YouTube video support. The video ID was cut out of the submitted YouTube link without validation and written unescaped into the embed markup on the image detail and lightbox views, so a crafted link stored against a gallery item runs script in the browser of anyone who opens it, administrators included. Planting one needs a back-end account that can edit gallery images, or the front-end YouTube upload feature (off by default) with category upload rights. Fixed in 6.1.7, released 19 Nov 2026 on the current (6.x, Joomla 6) line, which validates the ID as an 11-character YouTube ID and escapes it on output. The 3.x, 4.x and 5.x release lines are stranded: their latest releases (3.2.8, 4.5.5, 5.1.3) carry the same code with no fixed release, so those sites must move to the patched 6.x package or remove the component. Interim mitigation: turn off front-end YouTube upload and check existing gallery items' video links. Published as CVE-2026-129418 on 19 November 2026, rated CVSS 4.0 7.5 (High) by the CNA and credited to Łukasz Rybak. The CVE record lists 4.2.0 to 6.1.6; the 3.x line carries the same YouTube code with no fixed release, so it is flagged too.

Is my site affected?

Affected
Phoca Gallery from 3.1.0 up to but not including 6.1.7
Fixed in
6.1.7
What to do
Update Phoca Gallery to 6.1.7 or later.

How CVE-2026-129418 is scored

The base metrics as Joomla CNA published them, and what each one means for a site running an affected version. Threat and environmental metrics are left out: they describe a moment or a particular install rather than the flaw.

7.5 High

CVSS 4.0, scored by Joomla CNA
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

How it is reached

AV:N Attack vector
Network. Reachable across the internet
AC:L Attack complexity
Low. Nothing to work around, it just works
AT:P Attack requirements
Present. Needs a particular deployment or race to line up
PR:L Privileges required
Low. Any logged-in account will do
UI:P User interaction
Passive. Someone has to visit a page

What it does to the site

VC:H Confidentiality
High. Everything the site holds can be read
VI:H Integrity
High. Data and files can be altered at will
VA:L Availability
Low. The site slows or stutters

What it does beyond the site

SC:N Confidentiality
None. Other systems keep their data
SI:N Integrity
None. Other systems keep their integrity
SA:N Availability
None. Other systems stay up

Timeline

  1. 19 November 2026CVE-2026-129418 record published by its CNA
  2. 19 November 2026mySites.guru check added for Phoca Gallery (from 3.1.0 up to but not including 6.1.7)
  3. 19 November 2026We published: Phoca Gallery 6.1.7 fixes a stored XSS in YouTube video links

Rule details

Our disclosure post

Other vulnerabilities in Phoca Gallery

Updating for CVE-2026-129418 alone can leave a site on a release another rule still matches. These are the other flaws we check for in the same extension.

Phoca Gallery

Latest safe version: 6.1.7

References

CVE-2026-129418 questions

Which versions are affected by CVE-2026-129418?
CVE-2026-129418 affects Phoca Gallery from 3.1.0 up to but not including 6.1.7. The fix is in 6.1.7.
How do I fix CVE-2026-129418?
Update Phoca Gallery to 6.1.7 or later. Then confirm the installed version on the Joomla administrator's Extensions: Manage screen.
How severe is CVE-2026-129418?
Joomla CNA scores it 7.5 (High) under CVSS 4.0. In plain terms: reachable across the internet, any logged-in account will do and someone has to visit a page.

Running an affected version on a site you manage?

A free audit tells you which of your Joomla and WordPress sites run an affected version, which are out of date, and which have not been backed up. No card required. If a site is already compromised, fix.mysites.guru is a single fixed fee per incident, usually resolved the same day.

This check is part of the mySites.guru Joomla vulnerability scanner, which reads every installed extension's version on each audit. Browse the rest of the Joomla vulnerability database.

Rules current as of 2 December 2026.