SQL injection vulnerability in wp-includes/class-wp-query.php in WP_Query in WordPress before 4.7.2 allows remote attackers to execute arbitrary SQL commands by leveraging the presence of an affected plugin or theme that mishandles a crafted post type name
Published Jan 30, 2017
9.8
CRITICALCVSS 3.1
EPSS 9.93%
Description
SQL injection vulnerability in wp-includes/class-wp-query.php in WP_Query in WordPress before 4.7.2 allows remote attackers to execute arbitrary SQL commands by leveraging the presence of an affected plugin or theme that mishandles a crafted post type name.
Affected products
No data.
Configuration 2
- 8.0
- 9.0
Configuration 3
- 11.1.1.9.0
- 12.2.1.3.0
- 12.2.1.4.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (46 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 9.93% (0.09933) | 95.45th | v5 (v2026.06.15) |
| Jun 15, 2026 | 9.93% (0.09933) | 94.97th | v5 (v2026.06.15) |
| Mar 4, 2026 | 12.38% (0.12378) | 93.75th | v4 (v2025.03.14) |
| Mar 1, 2026 | 10.03% (0.10027) | 92.96th | v4 (v2025.03.14) |
| Feb 4, 2026 | 12.38% (0.12378) | 93.70th | v4 (v2025.03.14) |
| Feb 1, 2026 | 10.03% (0.10027) | 92.90th | v4 (v2025.03.14) |
| Jan 4, 2026 | 12.38% (0.12378) | 93.65th | v4 (v2025.03.14) |
| Jan 1, 2026 | 10.03% (0.10027) | 92.87th | v4 (v2025.03.14) |
| Dec 28, 2025 | 12.38% (0.12378) | 93.66th | v4 (v2025.03.14) |
| Dec 27, 2025 | 17.69% (0.17692) | 94.92th | v4 (v2025.03.14) |
| Dec 4, 2025 | 12.38% (0.12378) | 93.61th | v4 (v2025.03.14) |
| Dec 1, 2025 | 10.03% (0.10027) | 92.82th | v4 (v2025.03.14) |
| Nov 4, 2025 | 12.38% (0.12378) | 93.58th | v4 (v2025.03.14) |
| Nov 1, 2025 | 10.03% (0.10027) | 92.77th | v4 (v2025.03.14) |
| Oct 28, 2025 | 12.38% (0.12378) | 93.57th | v4 (v2025.03.14) |
| Oct 27, 2025 | 17.69% (0.17692) | 94.83th | v4 (v2025.03.14) |
| Oct 4, 2025 | 12.38% (0.12378) | 93.62th | v4 (v2025.03.14) |
| Oct 1, 2025 | 10.03% (0.10027) | 92.82th | v4 (v2025.03.14) |
| Sep 4, 2025 | 17.69% (0.17692) | 94.86th | v4 (v2025.03.14) |
| Sep 1, 2025 | 13.85% (0.13850) | 94.09th | v4 (v2025.03.14) |
| Aug 4, 2025 | 17.69% (0.17692) | 94.83th | v4 (v2025.03.14) |
| Aug 1, 2025 | 13.85% (0.13850) | 94.06th | v4 (v2025.03.14) |
| Jul 30, 2025 | 17.69% (0.17692) | 94.83th | v4 (v2025.03.14) |
| Jul 9, 2025 | 12.38% (0.12378) | 93.56th | v4 (v2025.03.14) |
| Jul 4, 2025 | 8.84% (0.08839) | 92.12th | v4 (v2025.03.14) |
| Jul 1, 2025 | 6.73% (0.06732) | 90.86th | v4 (v2025.03.14) |
| Jun 4, 2025 | 8.84% (0.08839) | 92.07th | v4 (v2025.03.14) |
| Jun 1, 2025 | 6.73% (0.06732) | 90.81th | v4 (v2025.03.14) |
| May 4, 2025 | 8.84% (0.08839) | 92.05th | v4 (v2025.03.14) |
| May 1, 2025 | 6.73% (0.06732) | 90.79th | v4 (v2025.03.14) |
| Mar 30, 2025 | 8.84% (0.08839) | 91.72th | v4 (v2025.03.14) |
| Mar 29, 2025 | 18.41% (0.18410) | 92.14th | v4 (v2025.03.14) |
| Mar 24, 2025 | 8.84% (0.08839) | 91.73th | v4 (v2025.03.14) |
| Mar 23, 2025 | 18.41% (0.18410) | 94.45th | v4 (v2025.03.14) |
| Mar 17, 2025 | 8.84% (0.08839) | 91.90th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.34% (0.00341) | 72.30th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.32% (0.00318) | 69.68th | v3 (v2023.03.01) |
| Mar 27, 2023 | 0.31% (0.00314) | 65.56th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.34% (0.00339) | 66.78th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.97% (0.01974) | 78.97th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.97% (0.01974) | 77.12th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.97% (0.01974) | 56.20th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.59% (0.02590) | 55.26th | v1 |
| Jan 6, 2022 | 2.59% (0.02590) | 54.82th | v1 |
| Sep 1, 2021 | 2.59% (0.02590) | 79.14th | v1 |
| Apr 14, 2021 | 2.59% (0.02590) | 0.00th | v1 |
References (9)
- http://www.debian.org/security/2017/dsa-3779 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.openwall.com/lists/oss-security/2017/01/28/5 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://www.securityfocus.com/bid/95816 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1037731 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://codex.wordpress.org/Version_4.7.2 x_refsource_CONFIRMRelease NotesVendor Advisory
- https://github.com/WordPress/WordPress/commit/85384297a60900004e27e417eac56d24267054cb x_refsource_CONFIRMPatchThird Party Advisory
- https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/ x_refsource_CONFIRMPatchVendor Advisory
- https://wpvulndb.com/vulnerabilities/8730 x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpujan2021.html x_refsource_MISCThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2017/dsa-3779 | vendor-advisoryx_refsource_DEBIANThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2017/01/28/5 | mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory | |
| http://www.securityfocus.com/bid/95816 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| http://www.securitytracker.com/id/1037731 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| https://codex.wordpress.org/Version_4.7.2 | x_refsource_CONFIRMRelease NotesVendor Advisory | |
| https://github.com/WordPress/WordPress/commit/85384297a60900004e27e417eac56d24267054cb | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/ | x_refsource_CONFIRMPatchVendor Advisory | |
| https://wpvulndb.com/vulnerabilities/8730 | x_refsource_MISCPatchThird Party Advisory | |
| https://www.oracle.com/security-alerts/cpujan2021.html | x_refsource_MISCThird Party Advisory |
Change history (0)
No recorded changes yet.