Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister low-privilege gallery account
-
DeliveryInject XSS payload into Biography field via edit_profile
-
ExploitProfile saved with malicious content server-side
-
ExecutionVictim user (e.g., admin) views attacker's profile page
-
PersistBrowser executes injected JavaScript payload
-
ImpactSession 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Coppermine Photo Gallery
View allCoppermine Photo Gallery before 1.5.20 allows remote attackers to obtain sensitive information via (1) a direct request
Coppermine Photo Gallery before 1.5.36 allows remote attackers to enumerate directories via a full path in the folder pa
Multiple cross-site scripting (XSS) vulnerabilities in install_classic.php in Coppermine Photo Gallery (CPG) 1.5.36 allo
Cross-site scripting (XSS) vulnerability in edit_one_pic.php in Coppermine Photo Gallery before 1.5.20 allows remote aut
Open redirect vulnerability in mode.php in Coppermine Photo Gallery before 1.5.36 allows remote attackers to redirect us
Cross-site scripting (XSS) vulnerability in contact.php in Coppermine Photo Gallery before 1.5.36 allows remote authenti
EUVD-2026-68161
GHSA-mgq4-qpjf-4pfw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB