Code-Projects Easy Blog Site SQL Injection Vulnerability in post.php

Vulnerability

A SQL injection vulnerability exists in Code-Projects Easy Blog Site version 1.0, specifically within the post.php file. The issue arises because the application improperly sanitizes the 'tags' parameter, allowing attackers to inject malicious SQL code. This unsanitized input is directly used in SQL queries, enabling exploitation of the database. The vulnerability can be exploited remotely, without any authentication.

Impact

Exploitation of this vulnerability allows unauthorized manipulation of SQL queries, leading to unauthorized database access, data leakage, data tampering, and potential disruption of services.

Reproduction

To reproduce this vulnerability, send a GET request to post.php with the 'tags' parameter. The injected SQL payload can be crafted to exploit the vulnerability, such as using boolean-based blind injection techniques or error-based exploitation methods.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure that user input conforms to expected formats. Minimizing database user permissions can also help reduce the risk of exploitation.

Added: Apr 13, 2026, 8:47 PM
Updated: Apr 13, 2026, 8:47 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
5.8
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.