CVE-2025-4935 SourceCodester Stock Management System changePassword.php sql injection
Remote attackers can exploit SQL injection in changePassword.php to read or modify database contents in SourceCodester Stock Management System.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-4935?
CVE-2025-4935 is a medium-severity SQL injection vulnerability in SourceCodester Stock Management System, published on 19 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in SourceCodester Stock Management System 1.0 and classified as critical. This issue affects some unknown processing of the file /php_action/changePassword.php. The manipulation of the argument user_id leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-4935?
It affects 1 product.
Products include Oretnom23 Stock Management System.
How do I fix CVE-2025-4935?
No fix has been published for CVE-2025-4935 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-4935 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4935 exists.
Other vulnerabilities in SourceCodester Stock Management System
- CVE-2025-4283 SourceCodester/oretnom23 Stock Management System Login.php sql injection
- CVE-2025-4782 SourceCodester/oretnom23 Stock Management System view_receiving sql injection
- CVE-2025-4786 SourceCodester/oretnom23 Stock Management System view_return sql injection
- CVE-2025-4787 SourceCodester/oretnom23 Stock Management System view_sale sql injection
- CVE-2025-4806 SourceCodester/oretnom23 Stock Management System view_bo sql injection
Sources
Also known as GHSA-q728-q98w-r3qx.