Skip to main content

Coppermine Photo Gallery CVE-2026-82482

| EUVDEUVD-2026-68161 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-08-30 VulDB GHSA-mgq4-qpjf-4pfw
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register low-privilege gallery account
  2. Delivery
    Inject XSS payload into Biography field via edit_profile
  3. Exploit
    Profile saved with malicious content server-side
  4. Execution
    Victim user (e.g., admin) views attacker's profile page
  5. Persist
    Browser executes injected JavaScript payload
  6. Impact
    Session token exfiltrated to attacker-controlled endpoint

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must possess a valid low-privilege user account on the target Coppermine Photo Gallery instance (PR:L confirmed by the CVSS 4.0 vector). The attack vector is the Biography field specifically within the edit_profile endpoint of profile.php - this field must not be stripped of HTML by server-side filters. A victim user must passively view the attacker's profile page for the payload to execute (UI:P per the CVSS 4.0 vector). Exploitation is limited by: the requirement for attacker authentication (anonymous exploitation is not possible), and the dependency on a victim visiting the profile. Galleries that permit open user self-registration reduce the attacker's barrier to obtaining the required account. No special server-side configuration or non-default mode is required beyond a functioning gallery with user profiles enabled.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/E:P) scores 5.1 (medium), which accurately reflects the moderate real-world risk profile: network-accessible, low complexity, but gated by both an authenticated attacker account and passive victim interaction. No EPSS data was provided in the input, so exploitation probability cannot be quantified precisely. There is no CISA KEV listing, meaning active widespread exploitation is not confirmed. The publicly available PoC on GitHub (Leousum/VulnPoC/stored_xss_biography.md) is the most significant risk amplifier - any registered gallery user can exploit this without advanced skill. The most realistic impact in a typical deployment is session-cookie theft targeting an admin visitor, which could escalate to full gallery compromise. The integrity impact is rated low (VI:L) in the vendor's 4.0 vector because direct system damage is constrained to the victim's browser context. Overall, this is a genuine medium-priority issue that warrants prompt patching given the PoC availability, but does not require emergency out-of-band response for most deployments.

Exploit ScenarioDerived

A registered gallery user navigates to their profile edit page, enters a JavaScript payload (e.g., a cookie-stealing script pointing to an attacker-controlled server) into the Biography field, and saves the profile. When an administrator or another authenticated user later browses to that profile page, their browser silently executes the payload, sending the victim's session token to the attacker - potentially granting full admin access. A public PoC demonstrating this technique is available at https://github.com/Leousum/VulnPoC/blob/main/CPG1.6.x/stored_xss_biography.md.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

Stored cross-site scripting in Coppermine Photo Gallery up to version 1.6.28 allows an authenticated user to inject malicious JavaScript into the Biography field of the edit_profile endpoint in profile.php, which executes in the browser of any user who subsequently views that profile. A public proof-of-concept exploit is available on GitHub (Leousum/VulnPoC), and the vendor has released version 1.6.29 to remediate the issue. No active exploitation is confirmed in the CISA KEV catalog, but the PoC lowers the practical barrier to abuse significantly.

RemediationAI

Upgrade Coppermine Photo Gallery to version 1.6.29, which the vendor has confirmed mitigates this vulnerability; the release is available at https://github.com/coppermine-gallery/cpg1.6.x/releases/tag/v1.6.29. If an immediate upgrade is not possible, disable self-service profile editing or restrict the Biography field to admin-only editing via gallery configuration - this eliminates the attack surface but removes legitimate user functionality. Deploying a WAF with stored XSS filtering rules on the profile.php endpoint can reduce risk but is not a reliable standalone control given the breadth of known XSS bypass techniques. Enabling strict Content Security Policy (CSP) headers that block inline script execution would limit the impact of any successful payload injection, though it does not prevent the storage of malicious content.

Affected VersionsENISA

Coppermine Photo Gallery 1.6.2
Coppermine Photo Gallery 1.6.19
Coppermine Photo Gallery 1.6.18
Coppermine Photo Gallery 1.6.9
Coppermine Photo Gallery 1.6.27
Coppermine Photo Gallery 1.6.22
Coppermine Photo Gallery 1.6.13
Coppermine Photo Gallery 1.6.21
Coppermine Photo Gallery 1.6.26
Coppermine Photo Gallery 1.6.17
Coppermine Photo Gallery 1.6.1
Coppermine Photo Gallery 1.6.20
Coppermine Photo Gallery 1.6.14
Coppermine Photo Gallery 1.6.25
Coppermine Photo Gallery 1.6.3
Coppermine Photo Gallery 1.6.23
Coppermine Photo Gallery 1.6.0
Coppermine Photo Gallery 1.6.7
Coppermine Photo Gallery 1.6.28
Coppermine Photo Gallery 1.6.11
Coppermine Photo Gallery 1.6.12
Coppermine Photo Gallery 1.6.24
Coppermine Photo Gallery 1.6.6
Coppermine Photo Gallery 1.6.10
Coppermine Photo Gallery 1.6.8
Coppermine Photo Gallery 1.6.15
Coppermine Photo Gallery 1.6.16
Coppermine Photo Gallery 1.6.4
Coppermine Photo Gallery 1.6.5

Affected Packages

euvd coppermine_photo_gallery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a CWE-79 (Improper Neutralization of Input During Web Page Generation) stored XSS flaw in the PHP-based Coppermine Photo Gallery application. The affected component is the edit_profile endpoint within profile.php, where user-supplied input to the Biography field is stored and later rendered without adequate HTML encoding or sanitization. The CPE identifier cpe:2.3:a:coppermine-gallery:coppermine_photo_gallery:*:*:*:*:*:*:*:* covers all releases through 1.6.28. Because the payload is persisted server-side and rendered to any visitor of the profile page, this is a stored (Type 2) XSS, which generally carries higher impact than reflected variants. The release notes for v1.6.29 reference 'minor vulnerabilities mitigation,' confirming the fix is included in that release.

Know when Coppermine Photo Gallery gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.4 MEDIUM

Stored XSS requires low-privilege auth (PR:L) and victim page view (UI:R); scope changes to victim's browser with low confidentiality and integrity impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVE Published
Aug 31, 2026 - 10:50 cve.org
LOW 2.0
Severity Changed
Aug 30, 2026 - 07:22 NVD
MEDIUM LOW
CVSS changed
Aug 30, 2026 - 07:22 NVD
5.1 (MEDIUM) 2.0 (LOW)

DescriptionCVE.org

A security vulnerability has been detected in coppermine-gallery Coppermine Photo Gallery up to 1.6.28. This affects an unknown function of the file profile.php of the component edit_profile Endpoint. The manipulation of the argument Biography leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 1.6.29 mitigates this issue. Upgrading the affected component is recommended.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche open-source PHP photo gallery, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy