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

CVE-2025-12292

High · published October 27, 2025

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

⚠️ A remote SQL injection vulnerability in SourceCodester Point of Sales could let a crafty attacker manipulate user data with just the right username! Think of it like a restaurant where a customer can swap their order with a different dish just by saying the right name — if the server isn't careful, they might serve the wrong meal to the wrong table. 🍽️ This vulnerability could allow attackers to interact with your database directly, potentially exposing sensitive data or wreaking havoc by altering user accounts and transactions. While it hasn't been exploited in the wild yet, the risk is certainly there — a sneaky breach waiting to happen!

Put simply

Think of it like a restaurant where a customer can swap their order with a different dish just by saying the right name — if the server isn't careful, they might serve the wrong meal to the wrong table. 🍽️ The vulnerability lies in the way /index.php processes the 'Username' argument, leading to SQL injection that could allow unauthorized access to the database.

What to do

This vulnerability could allow attackers to interact with your database directly, potentially exposing sensitive data or wreaking havoc by altering user accounts and transactions. While it hasn't been exploited in the wild yet, the risk is certainly there — a sneaky breach waiting to happen! To mitigate this, update to the latest version of SourceCodester Point of Sales and ensure that all user inputs are properly sanitized and validated. Consider implementing parameterized queries to further secure your database interactions. You’ve got this! Fixing this vulnerability is within your reach, and you’ll be one step closer to a safer environment! 🛡️

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 15:32Z
    SourceCodester Point of Sales index.php sql injection
    cvelistv5