Home / Civicrm / Civicrm / CVE-2013-4662
CVE-2013-4662: is it exploited, and which versions of Civicrm are affected and fixed?
CVE-2013-4662 is a SQL injection vulnerability in Civicrm. 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, 09:38 UTC). Affected: civicrm/civicrm-core from 4.2.0 before 4.2.9 and civicrm/civicrm-core from 4.3.0 before 4.3.3 (GitHub advisory GHSA-4465-r2hg-v4rj). Fixed in 4.2.9 and 4.3.3 (GitHub advisory GHSA-4465-r2hg-v4rj). Severity: Medium (6.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:47 UTC.
What is CVE-2013-4662?
The Quick Search API in CiviCRM 4.2.0 through 4.2.9 and 4.3.0 through 4.3.3 allows remote authenticated users to bypass the validation layer and conduct SQL injection attacks via a direct request to the "second layer" of the API, related to contact.getquick.
From the CVE record by mitre, last updated August 6, 2024, 16:52 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | civicrm/civicrm-core | >= 4.2.0, < 4.2.9 | 4.2.9 | GHSA-4465-r2hg-v4rj |
| Packagist | civicrm/civicrm-core | >= 4.3.0, < 4.3.3 | 4.3.3 | GHSA-4465-r2hg-v4rj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 29, 2023. Summary: CiviCRM SQL injection vulnerability via Quick Search API.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| civicrm | civicrm | 4.2.0 | application |
| civicrm | civicrm | 4.2.1 | application |
| civicrm | civicrm | 4.2.2 | application |
| civicrm | civicrm | 4.2.4 | application |
| civicrm | civicrm | 4.2.5 | application |
| civicrm | civicrm | 4.2.6 | application |
| civicrm | civicrm | 4.2.7 | application |
| civicrm | civicrm | 4.2.8 | application |
| civicrm | civicrm | 4.2.9 | application |
| civicrm | civicrm | 4.3.0 | application |
| civicrm | civicrm | 4.3.1 | application |
| civicrm | civicrm | 4.3.2 | application |
| civicrm | civicrm | 4.3.3 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:57 UTC.
How severe is CVE-2013-4662?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/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-2013-4662 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.01% probability of exploitation activity in the next 30 days, percentile 64.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?
- https://civicrm.org/advisory/civi-sa-2013-004-limited-sql-injection-quick-search-api x_refsource_CONFIRM
- http://issues.civicrm.org/jira/browse/CRM-12765 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- June 24, 2013
- Published
- January 29, 2014, 18:00 UTC
- CVE record updated
- August 6, 2024, 16:52 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:57 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:47 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Civicrm?
- Aug 11, 2026CVE-2026-72558 CiviCRM: SQL injection
- Dec 2, 2025CVE-2025-65187 Civicrm: cross-site scripting (XSS)
- May 23, 2023CVE-2023-25440 Civicrm: cross-site scripting (XSS)
- Jun 17, 2021CVE-2020-36389 Civicrm: cross-site request forgery (CSRF)
- Jun 17, 2021CVE-2020-36388 Civicrm: unrestricted file upload
- Jul 23, 2018CVE-2018-1999022 Html Quickform Project Html Quickform: code injection (remote code execution)
- Mar 12, 2014CVE-2013-1636 Caseproof Prettylinks: cross-site scripting (XSS)
- Jan 29, 2014CVE-2013-4661 Civicrm: n/a
Questions about CVE-2013-4662
Is CVE-2013-4662 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 1.01% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Civicrm are affected by CVE-2013-4662?
civicrm/civicrm-core from 4.2.0 before 4.2.9 and civicrm/civicrm-core from 4.3.0 before 4.3.3, per the GitHub advisory GHSA-4465-r2hg-v4rj. The tables above give every range the sources list.
Which version fixes CVE-2013-4662?
4.2.9 and 4.3.3, per the GitHub advisory GHSA-4465-r2hg-v4rj. Check the vendor's advisory before you rely on it.
How severe is CVE-2013-4662?
Medium (6.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-4662?
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.