Home / Phpwebgallery / Phpwebgallery / CVE-2005-4228
CVE-2005-4228: is it exploited, and which versions of Phpwebgallery are affected and fixed?
CVE-2005-4228 is a SQL injection vulnerability in Phpwebgallery. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: phpwebgallery through 1.7.2, phpwebgallery 1.0, phpwebgallery 1.1 and 17 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2005-4228?
Multiple SQL injection vulnerabilities in PhpWebGallery 1.5.1 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) since, (2) sort_by, and (3) items_number parameters to comments.php, (4) the search parameter to category.php, and (5) image_id parameter to picture.php. NOTE: it was later reported that the comments.php/sort_by vector also affects 1.7.2 and earlier.
From the CVE record by mitre, last updated August 7, 2024, 23:38 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| phpwebgallery | phpwebgallery | through 1.7.2 | application |
| phpwebgallery | phpwebgallery | 1.0 | application |
| phpwebgallery | phpwebgallery | 1.1 | application |
| phpwebgallery | phpwebgallery | 1.2.1 | application |
| phpwebgallery | phpwebgallery | 1.3.0 | application |
| phpwebgallery | phpwebgallery | 1.3.1 | application |
| phpwebgallery | phpwebgallery | 1.3.2 | application |
| phpwebgallery | phpwebgallery | 1.3.3 | application |
| phpwebgallery | phpwebgallery | 1.3.4 | application |
| phpwebgallery | phpwebgallery | 1.4.0 | application |
| phpwebgallery | phpwebgallery | 1.4.1 | application |
| phpwebgallery | phpwebgallery | 1.5.0 | application |
| phpwebgallery | phpwebgallery | 1.5.1 | application |
| phpwebgallery | phpwebgallery | 1.5.2 | application |
| phpwebgallery | phpwebgallery | 1.6 | application |
| phpwebgallery | phpwebgallery | 1.6.0 | application |
| phpwebgallery | phpwebgallery | 1.6.1 | application |
| phpwebgallery | phpwebgallery | 1.6.2 | application |
| phpwebgallery | phpwebgallery | 1.7.0 | application |
| phpwebgallery | phpwebgallery | 1.7.1 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:18 UTC.
How severe is CVE-2005-4228?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2005-4228 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.56% probability of exploitation activity in the next 30 days, percentile 85.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- http://pridels0.blogspot.com/2005/12/phpwebgallery-multiple-sql-inj.html x_refsource_MISC
- 21690 vdb-entry, x_refsource_OSVDB
- 18019 third-party-advisory, x_refsource_SECUNIA
- ADV-2005-2881 vdb-entry, x_refsource_VUPEN
- 15837 vdb-entry, x_refsource_BID
- 21691 vdb-entry, x_refsource_OSVDB
- 21689 vdb-entry, x_refsource_OSVDB
When was it published, and where is the official record?
- Reserved
- December 14, 2005
- Published
- December 14, 2005, 11:00 UTC
- CVE record updated
- August 7, 2024, 23:38 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:18 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Phpwebgallery?
- Oct 22, 2008CVE-2008-4702 Phpwebgallery: path traversal (reading or writing files outside the intended folder)
- Oct 21, 2008CVE-2008-4645 Phpwebgallery: code injection (remote code execution)
- Oct 16, 2008CVE-2008-4591 Phpwebgallery: cross-site scripting (XSS)
- Aug 4, 2008CVE-2008-3451 Phpwebgallery: information disclosure
- Sep 20, 2007CVE-2007-5012 Phpwebgallery: cross-site scripting (XSS)
- Feb 26, 2007CVE-2007-1109 Phpwebgallery: cross-site scripting (XSS)
- Jul 10, 2006CVE-2006-3476 Phpwebgallery: n/a
- Apr 26, 2006CVE-2006-2041 Phpwebgallery: n/a
Questions about CVE-2005-4228
Is CVE-2005-4228 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 2.56% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Phpwebgallery are affected by CVE-2005-4228?
phpwebgallery through 1.7.2, phpwebgallery 1.0, phpwebgallery 1.1, phpwebgallery 1.2.1, phpwebgallery 1.3.0, phpwebgallery 1.3.1 and 14 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2005-4228?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2005-4228?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2005-4228?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.