Published April 18, 2026 | Version v1

Security Audit of WordPress 4.7.0: A Comparative Evaluation of SAST and DAST Tools Against a Known CVE Record

Authors/Creators

Description

WordPress is the world's most widely deployed content management system, powering over 43% of all websites globally. Its massive adoption makes it a persistent high-value target, and its history is marked by hundreds of publicly documented CVEs spanning the full breadth of the OWASP Top 10. Despite its prevalence, few empirical studies have examined how effectively modern automated security analysis tools detect WordPress's known vulnerability classes. This audit addresses that gap by targeting WordPress 4.7.0, a release from December 2016 that contained critical vulnerabilities including unauthenticated REST API content injection (CVE-2017-1001000), SQL injection in WP_Query (CVE-2017-5611), and cross-site scripting in the post list table (CVE-2017-5612). The source code is publicly available on GitHub (WordPress/WordPress tag 4.7), making it a reproducible benchmark. We evaluate one SAST tool (Semgrep) and one DAST tool (WPScan) against this version in an isolated Docker Compose environment, map all findings to the CWE taxonomy and OWASP Top 10 (2021), and measure each tool's detection rate against the ground-truth CVE record. Results show a sharp tradeoff: WPScan confirmed 114 known CVEs with zero false positives, while Semgrep surfaced 232 code-level flags with a true positive rate of approximately 2.5%. Together, they provide complementary coverage that neither tool achieves alone.

Files

WordPress.pdf

Files (515.8 kB)

Name Size
md5:2bad13a7cb3c1af151fc8990a5922587
515.8 kB Preview Download