Back to Codebase

Vulnerability Analysis Report

WordPress Core v1.5.1

Scan ID: SCAN-WORDPRESS-CORE-c0kUJd • Hash: f4552671

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

Vulnerability Details

L329

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:329
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));
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));
L561

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:561
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
- $posts = $wpdb->get_results("SELECT ID, post_name FROM $wpdb->posts WHERE post_status = 'static' ORDER BY post_parent DESC");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L47

Potential SQL Injection in categories.php

CWE-89
File Location: wp-admin/categories.php:47
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
- $category = $wpdb->get_row("SELECT * FROM $wpdb->categories WHERE cat_ID = '$cat_ID'");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L409

Potential SQL Injection in admin-functions.php

CWE-89
File Location: wp-admin/admin-functions.php:409
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
- return $wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '$mkey', meta_value = '$mvalue' WHERE meta_id = '$mid'");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));