Back to Codebase

Vulnerability Analysis Report

WordPress Core v2.5

Scan ID: SCAN-WORDPRESS-CORE-DXezjN • Hash: 59c33016

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

Vulnerability Details

L18

Potential SQL Injection in admin-ajax.php

CWE-89
File Location: wp-admin/admin-ajax.php:18
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));
L116

Cross-Site Scripting (XSS) in categories.php

CWE-79
File Location: wp-admin/categories.php:116
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
- <div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
+ echo esc_html($messages[$_GET['message']]);
L46

Cross-Site Scripting (XSS) in edit-attachment-rows.php

CWE-79
File Location: wp-admin/edit-attachment-rows.php:46
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
- <td class="media-icon"><?php echo wp_get_attachment_link($post->ID, array(80, 60), false, true); ?></td>
+ echo esc_html(wp_get_attachment_link($post->ID, array(80, 60), false, true));
L129

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

CWE-79
File Location: wp-admin/edit-comments.php:129
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
- <li <?php if ( 'detail' == $mode ) echo "class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'detail', $_SERVER['REQUEST_URI'])) ?>"><?php _e('Detail View') ?></a></li>
+ echo esc_html("class='current'" ?>><a href="<?php echo clean_url(add_query_arg('mode', 'detail', $_SERVER['REQUEST_URI'])) ?>"><?php _e('Detail View') ?></a></li>);
L215

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

CWE-79
File Location: wp-admin/edit-comments.php:215
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="hidden" name="page" value="<?php echo isset($_REQUEST['page']) ? absint( $_REQUEST['page'] ) : 1; ?>" />
+ echo esc_html(isset($_REQUEST['page']) ? absint( $_REQUEST['page'] ) : 1);