Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
4.3

CVE-2004-1985: Coppermine Photo Gallery lets attackers insert malicious scripts via URL

CVE-2004-1985 · published 22 years ago
Summary

The version 1.2.2b of Coppermine Photo Gallery contains a flaw that lets a remote user place custom HTML or JavaScript into the site by manipulating the CPG_URL parameter. This can cause unwanted code to run in visitors' browsers, potentially stealing data or hijacking sessions. Apply the vendor's patch or upgrade to a newer, fixed version as soon as possible.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
coppermine coppermine_photo_gallery 1.0_rc3
1.1_.0
1.1_beta_2
1.2
1.2.1
1.2.2_b
cpe:2.3:a:coppermine:coppermine_photo_gallery:1.0_rc3:*:*:*:*:*:*:*
francisco_burzi php-nuke 6.9
7.0
7.0_final
7.1
7.2
cpe:2.3:a:francisco_burzi:php-nuke:6.9:*:*:*:*:*:*:*
Original advisory text
Cross-site scripting (XSS) vulnerability in menu.inc.php in Coppermine Photo Gallery 1.2.2b allows remote attackers to inject arbitrary HTML or web script via the CPG_URL parameter.
Cross-site scripting (XSS) vulnerability in menu.inc.php in Coppermine Photo Gallery 1.2.2b allows remote attackers to inject arbitrary HTML or web script via the CPG_URL parameter.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
4.3 Medium
Exploitation
4% chance of attack within 30 days
Timeline
Published30 Apr 2004
Updated23 Oct 2026
First seen29 Sep 2026
Sources
CVE-2004-1985 · NVD
Track software like this
Free during beta