Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or compromise low-privilege account
-
DeliveryInject XSS payload in album description via db_input.php endpoint
-
ExploitPayload stored in database
-
ExecutionVictim browses affected album page
-
PersistMalicious script executes in victim browser
-
ImpactSession token exfiltrated to attacker
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 hold a valid low-privilege account on the Coppermine Photo Gallery instance (PR:L in the CVSS 4.0 vector), meaning open user registration or compromised credentials are prerequisite. The victim must passively view an album page containing the injected payload (UI:P) - no additional action by the victim is required beyond browsing. The vulnerability is specific to the Hidden Album Update Endpoint in db_input.php; only deployments where low-privileged users can create or edit albums are exposed to the injection stage. Deployments restricted to a single trusted administrator with no external registrations have a significantly reduced attack surface, since the injector and the victim would be the same party. |
| Impact | The vendor-assigned CVSS 4.0 score of 2.0 is low, reflecting the limited direct server-side impact (VC:N/VA:N/VI:L). However, this score understates realistic risk for browser-side impacts such as session cookie theft, credential harvesting, or malicious redirects against victim users. The CVSS 4.0 metrics PR:L and UI:P confirm exploitation requires authenticated access and a victim to passively visit the page - meaningful constraints. A public PoC exists (E:P in the CVSS 4.0 supplemental vector), lowering the bar for exploitation. No EPSS data is available in the input, and the vulnerability is not listed in CISA KEV, indicating no confirmed widespread or targeted active exploitation. Real-world risk is moderate for gallery deployments with open registration (where untrusted users can create albums) and low for closed, trusted-user deployments. The primary concern is persistent XSS enabling session hijacking against administrators who manage albums. |
| Exploit ScenarioDerived | An attacker registers an account on a Coppermine gallery with open user registration, navigates to the album management interface, and injects a malicious JavaScript payload into an album description field via the Hidden Album Update Endpoint in db_input.php. When an administrator or other user later browses the gallery and views the affected album, the stored payload executes silently in their browser, potentially exfiltrating session cookies to an attacker-controlled server. A public PoC demonstrating this exact technique is available at https://github.com/Leousum/VulnPoC/blob/main/CPG1.6.x/stored_xss_album_desc.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 1.6.28 allows an authenticated attacker to inject persistent malicious scripts via the Hidden Album Update Endpoint in db_input.php, which execute in the browsers of other users who view the affected album. The public proof-of-concept (stored_xss_album_desc.md on GitHub) confirms exploitation via the album description field. No active exploitation has been confirmed by CISA KEV, and the low CVSS 4.0 score of 2.0 reflects limited server-side impact, though browser-side session hijacking remains a realistic outcome.
RemediationAI
Upgrade Coppermine Photo Gallery to version 1.6.29, which is confirmed to address this vulnerability per the official release notes citing 'minor vulnerabilities mitigation' (https://github.com/coppermine-gallery/cpg1.6.x/releases/tag/v1.6.29). If an immediate upgrade is not possible, restrict album creation and editing privileges to trusted users only, eliminating the PR:L attack surface for untrusted registrants. Additionally, deploying a Content Security Policy (CSP) header that disallows inline scripts can prevent injected payloads from executing in victim browsers, though this may require application-level testing to avoid breaking legitimate gallery functionality. Disabling open user registration is an effective compensating control if the site allows untrusted account creation.
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
Coppermine Photo Gallery (CPG) is an open-source PHP-based image gallery application. The vulnerable component is db_input.php, which processes input related to album management - specifically the Hidden Album Update Endpoint. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause: user-supplied input is stored in the database without adequate sanitization and later rendered in HTML without proper encoding, allowing injected script to execute in victims' browsers. The CVSS 4.0 vector (PR:L/UI:P) confirms this is a stored (persistent) XSS requiring a low-privileged account to inject and passive user interaction for execution, consistent with the GitHub PoC referencing album description as the injection point.
Know when PHP 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 with PR:L (authenticated injector), UI:R (victim views page), S:C (script executes in victim browser scope), C:L/I:L for session/content impact.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was detected in coppermine-gallery Coppermine Photo Gallery up to 1.6.28. This impacts an unknown function of the file db_input.php of the component Hidden Album Update Endpoint. The manipulation results in cross site scripting. The attack can be launched remotely. The exploit is now public and may be used. Upgrading to version 1.6.29 will fix this issue. It is recommended to upgrade the affected component.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-68170
GHSA-2mv6-fvg7-6f57
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB