Home / Zen-cart / Zen Cart / CVE-2008-6985
CVE-2008-6985: is it exploited, and which versions of Zen Cart are affected and fixed?
CVE-2008-6985 is a SQL injection vulnerability in Zen Cart. 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, 10:08 UTC). Affected: zen cart 1.2.0d, zen cart 1.2.1_patch1, zen cart 1.2.1d and 13 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2008-6985?
Multiple SQL injection vulnerabilities in includes/classes/shopping_cart.php in Zen Cart 1.2.0 through 1.3.8a, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the id parameter when (1) adding or (2) updating the shopping cart.
From the CVE record by mitre, last updated August 7, 2024, 11:49 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| zen-cart | zen cart | 1.2.0d | application |
| zen-cart | zen cart | 1.2.1_patch1 | application |
| zen-cart | zen cart | 1.2.1d | application |
| zen-cart | zen cart | 1.2.2d | application |
| zen-cart | zen cart | 1.2.3d | application |
| zen-cart | zen cart | 1.2.4.1 | application |
| zen-cart | zen cart | 1.2.4d | application |
| zen-cart | zen cart | 1.2.5d | application |
| zen-cart | zen cart | 1.2.6d | application |
| zen-cart | zen cart | 1.3 | application |
| zen-cart | zen cart | 1.3.2 | application |
| zen-cart | zen cart | 1.3.5 | application |
| zen-cart | zen cart | 1.3.6 | application |
| zen-cart | zen cart | 1.3.7 | application |
| zen-cart | zen cart | 1.3.8 | application |
| zen-cart | zen cart | 1.3.8a | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:03 UTC.
How severe is CVE-2008-6985?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/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-2008-6985 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.58% probability of exploitation activity in the next 30 days, percentile 76.3 (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?
- 20080904 Zen Cart <= 1.3.8a SQL Injection mailing-list, x_refsource_BUGTRAQ
- zencart-shoppingcart-sql-injection(44917) vdb-entry, x_refsource_XF
- 20080904 Re: Zen Cart <= 1.3.8a SQL Injection mailing-list, x_refsource_BUGTRAQ
- http://www.zen-cart.com/forum/showthread.php?p=604473 x_refsource_CONFIRM
- 31758 third-party-advisory, x_refsource_SECUNIA
- 31023 vdb-entry, x_refsource_BID
- http://www.gulftech.org/?node=research&article_id=00129-09042008 x_refsource_MISC
- 48346 vdb-entry, x_refsource_OSVDB
When was it published, and where is the official record?
- Reserved
- August 17, 2009
- Published
- August 18, 2009, 10:00 UTC
- CVE record updated
- August 7, 2024, 11:49 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:03 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Zen Cart?
- Oct 12, 2026CVE-2026-108829 Zen Cart: SQL injection
- Oct 12, 2026CVE-2026-108828 Zen Cart: SQL injection
- Oct 12, 2026CVE-2026-108827 Zen Cart: code injection (remote code execution)
- Oct 12, 2026CVE-2026-108826 Zen Cart: SQL injection
- Aug 21, 2024CVE-2024-5762 Zen Cart: PHP file inclusion
- Mar 19, 2021CVE-2020-6578 Zen Cart: cross-site scripting (XSS)
- Jan 26, 2021CVE-2021-3291 Zen Cart: OS command injection
- Aug 24, 2017CVE-2015-8352 Zen Cart: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2008-6985
Is CVE-2008-6985 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 1.58% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Zen Cart are affected by CVE-2008-6985?
zen cart 1.2.0d, zen cart 1.2.1_patch1, zen cart 1.2.1d, zen cart 1.2.2d, zen cart 1.2.3d, zen cart 1.2.4.1 and 10 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-6985?
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-2008-6985?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-6985?
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.