CVE-2006-2397: Multiple cross-site scripting (XSS) vulnerabilities in GPhotos 1.5 and earlier allow remote attackers to injec
CVE-2006-2397 is a medium-severity flaw (CVSS 5.8) affecting gphotos. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Multiple cross-site scripting (XSS) vulnerabilities in GPhotos 1.5 and earlier allow remote attackers to inject arbitrary web script or HTML via the (1) rep parameter to (a) index.php or (b) diapo.php or (2) image parameter to (c) affich.php. NOTE: item 1a might be resultant from directory traversal.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.8 (Medium) |
| EPSS exploit chance | 2.8% (top 13%) |
| CISA exploited list | No |
| Published | 2006-05-16 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Gphotos 1.4/1.5 - 'affich.php?image' Cross-Site Scripting
- Exploit-DB: Gphotos 1.4/1.5 - 'diapo.php?rep' Cross-Site Scripting
- Exploit-DB: Gphotos 1.4/1.5 - 'index.php?rep' Cross-Site Scripting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2006-2397?
gphotos: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2006-2397 being exploited?
CVE-2006-2397 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2006-2397 affect?
CVE-2006-2397 affects gphotos. Severity is medium (CVSS 5.8). Multiple cross-site scripting (XSS) vulnerabilities in GPhotos 1.5 and earlier allow remote attackers to inject arbitrary web script or HTML via the (1) rep parameter to (a) index.php or (b) diapo.php or (2) image parameter to (c) affich.ph
How urgent is CVE-2006-2397?
Priority 47/100. Public exploit reference
Software pages
Related CVEs
- CVE-2006-6248 HIGH 7.8 DOWNGRADE index.php in GPhotos 1.5 allows remote attackers to obtain sensitive information via an invalid rep parameter,
- CVE-2006-2398 MEDIUM 5.0 UPGRADE Directory traversal vulnerability in index.php in GPhotos 1.5 and earlier allows remote attackers to read arbi