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

Phoca Gallery security vulnerabilities

mySites.guru tracks 2 vulnerabilities in Phoca Gallery (com_phocagallery), covering 2 CVEs. Every connected Joomla site is checked against them on each audit.

Is my site affected?

Your site is affected if it runs Phoca Gallery in any of these ranges:

  • from 3.1.0 up to but not including 6.1.7
  • from 4.5.0 up to but not including 6.1.6
Latest safe version
6.1.7 or later. No rule we check matches that release or any newer one.
What to do
Update Phoca Gallery to 6.1.7 or later from the vendor, then confirm the installed version on the Joomla administrator's Extensions: Manage screen.

Every Phoca Gallery vulnerability we track

Newest first. CVSS is the score published in each CVE record, where it has one; the severity column is the rating our check uses.

CVEAffected versionsFixed inSeverityAdded
CVE-2026-129418CVSS 7.5from 3.1.0 up to but not including 6.1.76.1.7High2026-11-19
CVE-2026-102786CVSS 8.6from 4.5.0 up to but not including 6.1.66.1.6High2026-10-23

What we check for

HighCVE-2026-1294182026-11-19

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.

Affected versions: ≥ 3.1.0 and < 6.1.7

Full advisory: our disclosure post

HighCVE-2026-1027862026-10-23

Phoca Gallery (com_phocagallery) 4.5.0 to 6.1.5 - Authenticated Stored XSS via EXIF HTML Attribute Injection (CVE-2026-102786)

Phoca Gallery 4.5.0 to 6.1.5 is affected by an authenticated stored cross-site scripting flaw (CWE-79). Attacker-controlled EXIF metadata embedded in an uploaded gallery image is rendered unescaped in the front-end image info (EXIF detail) view, allowing HTML attribute injection and stored XSS that fires when a visitor opens the photo info page. Exploitation needs the ability to add an image to a gallery (gallery upload rights, or the non-default front-end user upload enabled). Fixed in 6.1.6, released 19 Oct 2026 on the current (6.x) line. The older 4.x and 5.x release lines are stranded: their latest releases (4.5.5 and 5.1.3) carry the same vulnerable code with no fixed release, so those sites must move to the patched 6.x package or remove the component. Note: the published CVE range starts at 4.5.0; pre-4.5.0 4.x builds carry near-identical EXIF-display code but sit outside the stated range. CVSS 4.0 8.6 (High).

Affected versions: ≥ 4.5.0 and < 6.1.6

Full advisory: our disclosure post

Timeline

  1. 23 October 2026Check added for CVE-2026-102786 (from 4.5.0 up to but not including 6.1.6)
  2. 23 October 2026CVE-2026-102786 record published
  3. 19 November 2026Check added for CVE-2026-129418 (from 3.1.0 up to but not including 6.1.7)
  4. 19 November 2026CVE-2026-129418 record published

References

Each CVE page above links its official cve.org record and its NVD entry.

Phoca Gallery vulnerability questions

Which versions of Phoca Gallery are vulnerable?
mySites.guru tracks 2 vulnerabilities in Phoca Gallery (com_phocagallery). A site is affected if its installed version is in any of these ranges: from 3.1.0 up to but not including 6.1.7; from 4.5.0 up to but not including 6.1.6.
What is the latest safe version of Phoca Gallery?
6.1.7. Every vulnerability tracked here is fixed by 6.1.7, and no rule we check matches that release or any later one.
How do I check which version of Phoca Gallery my Joomla site runs?
The installed version is listed on the Joomla administrator's Extensions: Manage screen; search it for com_phocagallery. mySites.guru reads the installed version on every audit of a connected site and checks it against these rules.

Running Phoca Gallery 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.

CVE identifiers: CVE-2026-129418, CVE-2026-102786. Rules current as of 2 December 2026.