CVE-2015-2213 wordpress wordpress: SQL Injection
wordpress wordpress: no CVSS score yet. EPSS 9.7% estimated probability of exploitation activity in the next 30 days.
On this page
SQL injection vulnerability in the wp_untrash_post_comments function in wp-includes/post.php in WordPress before 4.2.4 allows remote attackers to execute arbitrary SQL commands via a comment that is mishandled after retrieval from the trash.
- EPSS
- 9.7% (unchanged from 9.7% a week ago; 9.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Patch: https://codex.wordpress.org/Version_4.2.4
- Patch: https://core.trac.wordpress.org/changeset/33555
- Patch: https://wordpress.org/news/2015/08/wordpress-4-2-4-security-and-maintenance-release/
- Vendor advisory: https://codex.wordpress.org/Version_4.2.4
- Vendor advisory: https://wordpress.org/news/2015/08/wordpress-4-2-4-security-and-maintenance-release/
Ask an AI about this CVE
Show the prompt
Explain CVE-2015-2213 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-2213?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-2213?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-2213 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| wordpress:wordpress | through 4.2.3 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 6.0 | wordpress | 3.6.1+dfsg-1~deb6u7 | DLA-294-1 |
| Debian | 7 | wordpress | 3.6.1+dfsg-1~deb7u8 | DSA-3383-1 |
| Debian | 8 | wordpress | 4.1+dfsg-1+deb8u4 | DSA-3332-1 |
| Debian | 12, 13, 14 | wordpress | 4.2.4+dfsg-1 | DEBIAN-CVE-2015-2213 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Attack patterns (CAPEC)
- CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
- CAPEC-66 SQL Injection Likelihood: High · Severity: High
- CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
- CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
- CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
- CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- https://codex.wordpress.org/Version_4.2.4
- https://core.trac.wordpress.org/changeset/33555
- https://wordpress.org/news/2015/08/wordpress-4-2-4-security-and-maintenance-release/
- http://openwall.com/lists/oss-security/2015/08/04/7
- http://www.debian.org/security/2015/dsa-3332
- http://www.debian.org/security/2015/dsa-3383
- http://www.securityfocus.com/bid/76160
- http://www.securitytracker.com/id/1033178
- https://core.trac.wordpress.org/changeset/33556
- https://wpvulndb.com/vulnerabilities/8126