Back to Codebase

Vulnerability Analysis Report

WordPress Core v2.6.5

Scan ID: SCAN-WORDPRESS-CORE-m7Td7W • Hash: 9c82c714

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

Vulnerability Details

L23

Potential SQL Injection in admin-ajax.php

CWE-89
File Location: wp-admin/admin-ajax.php:23
Security Score:
89 / 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
- $results = $wpdb->get_col( "SELECT name FROM $wpdb->terms WHERE name LIKE ('%". $s . "%')" );
+ $wpdb->query($wpdb->prepare("SELECT ... WHERE field = %s", $variable));
L181

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

CWE-79
File Location: wp-admin/edit-comments.php:181
Security Score:
89 / 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 type="hidden" name="apage" value="<?php echo absint( $_GET['apage'] ); ?>" />
+ echo esc_html(absint( $_GET['apage'] ));
L75

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

CWE-79
File Location: wp-admin/edit-form-advanced.php:75
Security Score:
89 / 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 type="hidden" id="original_post_status" name="original_post_status" value="<?php echo $post->post_status ?>" />
+ echo esc_html($post->post_status ?>" />);
L67

Cross-Site Scripting (XSS) in edit-link-categories.php

CWE-79
File Location: wp-admin/edit-link-categories.php:67
Security Score:
89 / 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 type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
+ echo esc_html(attribute_escape(stripslashes($_GET['s'])));
L130

Cross-Site Scripting (XSS) in categories.php

CWE-79
File Location: wp-admin/categories.php:130
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 type="text" id="post-search-input" name="s" value="<?php echo attribute_escape(stripslashes($_GET['s'])); ?>" />
+ echo esc_html(attribute_escape(stripslashes($_GET['s'])));