CVE-2025-12293CWE-74CWE-89sql-injection

CVE-2025-12293

High · published October 27, 2025

CVSS v3.1
7.3
EPSS
0%
Percentile
35.3
In the wild
Unconfirmed
What it is

⚠️ A crafty SQL injection vulnerability lurks in SourceCodester Point of Sales 1.0! By manipulating the category argument in /category.php, attackers can exploit this weakness remotely. You're on alert! 🦸 Think of this like a sneaky waiter who accepts any special request from customers without checking if it should be on the menu, potentially leading to chaos in the kitchen! 🍽️ Just as a miscommunication can ruin a dining experience, this SQL injection can lead to serious data breaches. An attacker could execute arbitrary SQL commands, gaining unauthorized access to sensitive data stored in the database. This could mean the exposure of customer information, sales records, or even the ability to manipulate inventory — a recipe for disaster!

Put simply

Think of this like a sneaky waiter who accepts any special request from customers without checking if it should be on the menu, potentially leading to chaos in the kitchen! 🍽️ Just as a miscommunication can ruin a dining experience, this SQL injection can lead to serious data breaches. This SQL injection vulnerability allows attackers to manipulate the 'Category' argument in the /category.php file, enabling them to execute unauthorized SQL queries. Because this can be done remotely, it poses a risk to anyone using this version of the Point of Sales system.

What to do

An attacker could execute arbitrary SQL commands, gaining unauthorized access to sensitive data stored in the database. This could mean the exposure of customer information, sales records, or even the ability to manipulate inventory — a recipe for disaster! To secure your system, patch to the latest version of SourceCodester Point of Sales that addresses this issue as soon as possible. Additionally, validate and sanitize all user inputs to prevent similar vulnerabilities in the future. You've got this! With these steps, you'll be a security hero in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00421 · 35.3th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-10-27T20:15Z
Affected products (1)
ProductVersionsFixed in
janobe/point_of_salesall versions—
References (5)
EPSS history
Timeline
  • 27 OCT 16:02Z
    SourceCodester Point of Sales category.php sql injection
    cvelistv5