Back to Codebase

Vulnerability Analysis Report

WordPress Core v2.5.1

Scan ID: SCAN-WORDPRESS-CORE-Er1cGL • Hash: fb89705a

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

Vulnerability Details

L18

Potential SQL Injection in admin-ajax.php

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

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

CWE-79
File Location: wp-admin/edit-form-comment.php:97
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 name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" />
+ echo esc_html(wp_get_referer());
L49

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

CWE-79
File Location: wp-admin/edit-page-form.php:49
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 ?>" />);
L129

Cross-Site Scripting (XSS) in categories.php

CWE-79
File Location: wp-admin/categories.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
- <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'])));
L80

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

CWE-79
File Location: wp-admin/edit-form-advanced.php:80
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
- <a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview this Post'); ?></a>
+ echo esc_html(clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))));