Skip to main content
mySites.guru
CriticalA PHP security release fixes two CVSS 9.2 flaws, and PHP 8.1 and older get no patchWhat it means for your site
CVE-2026-102786HighCVSS 8.6CVE published 23 October 2026Added to mySites.guru 23 October 2026

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

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).

Is my site affected?

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

How CVE-2026-102786 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.

8.6 High

CVSS 4.0, scored by Joomla CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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:N Attack requirements
None. Works against any affected install
PR:N Privileges required
None. No account needed
UI:A User interaction
Active. Someone has to be talked through a few steps

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. 23 October 2026CVE-2026-102786 record published by its CNA
  2. 23 October 2026mySites.guru check added for Phoca Gallery (from 4.5.0 up to but not including 6.1.6)
  3. 23 October 2026We published: Phoca Gallery 6.1.6 fixes a stored XSS hidden in a photo's EXIF data

Rule details

Our disclosure post

Other vulnerabilities in Phoca Gallery

Updating for CVE-2026-102786 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.6

References

CVE-2026-102786 questions

Which versions are affected by CVE-2026-102786?
CVE-2026-102786 affects Phoca Gallery from 4.5.0 up to but not including 6.1.6. The fix is in 6.1.6.
How do I fix CVE-2026-102786?
Update Phoca Gallery to 6.1.6 or later. Then confirm the installed version on the Joomla administrator's Extensions: Manage screen.
How severe is CVE-2026-102786?
Joomla CNA scores it 8.6 (High) under CVSS 4.0. In plain terms: reachable across the internet, no account needed and someone has to be talked through a few steps.

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 23 October 2026.