Back to Codebase

Vulnerability Analysis Report

WordPress Core v2.3.2

Scan ID: SCAN-WORDPRESS-CORE-gxdFZ6 • Hash: df263d99

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

Vulnerability Details

L65

Potential SQL Injection in export.php

CWE-89
File Location: wp-admin/export.php:65
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
- $post_ids = $wpdb->get_col("SELECT ID FROM $wpdb->posts $where ORDER BY post_date_gmt ASC");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L176

Potential SQL Injection in edit.php

CWE-89
File Location: wp-admin/edit.php:176
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
- $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved != 'spam' ORDER BY comment_date");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L19

Potential SQL Injection in edit.php

CWE-89
File Location: wp-admin/edit.php:19
Security Score:
90 / 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
- $avail_post_stati = $wpdb->get_col("SELECT DISTINCT post_status FROM $wpdb->posts WHERE post_type = 'post'");
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L9

Cross-Site Scripting (XSS) in edit-form-advanced.php

CWE-79
File Location: wp-admin/edit-form-advanced.php:9
Security Score:
88 / 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
- <div id="message" class="updated fade"><p><?php echo wp_specialchars($messages[$_GET['message']]); ?></p></div>
+ echo esc_html(wp_specialchars($messages[$_GET['message']]));
L66

Cross-Site Scripting (XSS) in edit-form.php

CWE-79
File Location: wp-admin/edit-form.php:66
Security Score:
88 / 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
- <input name="referredby" type="hidden" id="referredby" value="<?php if ( $refby = wp_get_referer() ) echo urlencode($refby); ?>" />
+ echo esc_html(urlencode($refby));