Back to Codebase

Vulnerability Analysis Report

WordPress Core v1.5.2

Scan ID: SCAN-WORDPRESS-CORE-gl1x9H • Hash: e0ec453e

Severity Score
High
Total Findings
5
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
0.998s

Vulnerability Details

L340

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:340
Security Score:
94 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $keys = $wpdb->get_col("
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L403

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:403
Security Score:
93 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $result = $wpdb->query("DELETE FROM $wpdb->postmeta WHERE meta_id = '$mid'");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L39

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:39
Security Score:
92 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $cats_tmp = $wpdb->get_results("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent ORDER BY $sort");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L141

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:141
Security Score:
92 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $pages = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_status = 'static' ORDER BY menu_order");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L111

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:111
Security Score:
91 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- $categories = $wpdb->get_results("SELECT * FROM $wpdb->categories ORDER BY cat_name");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));