CVE-2025-4793 is a high severity SQL injection flaw (CVSS 7.3) in PHPGurukul Online Course Registration 3.1. The cgpa input handled by /edit-student-profile.php reaches a database query unsafely, and the record says it can be reached remotely. No fixed version is confirmed in the record, so check the vendor and cut exposure now.
What's affected
The record names PHPGurukul Online Course Registration 3.1. The weak spot is the file /edit-student-profile.php and its cgpa argument. The record also states that an exploit has been disclosed to the public. It does not say the flaw is exploited in the wild, and the CISA Known Exploited Vulnerabilities list does not include it.
The CVSS vector in the record lists no privileges required, so treat the page as reachable by anyone who can reach the site.
I could not confirm a fixed version or a vendor patch. The vendor site is listed as a reference in the record, so check it and any release notes before you decide the product is safe to keep running.
How to check if you're exposed
Start by finding out whether you run this product at all. Look on your web servers for the file named in the record:
find /var/www -name "edit-student-profile.php" 2>/dev/null
If the path matches /edit-student-profile.php, you have the affected code. Check the version in the application footer, the readme or the admin page, and compare it with 3.1.
Next, read the file and see how the cgpa value is used. If it is concatenated into a query string, the page is in the same state the record describes. If it already uses prepared statements, your copy may differ from the one that was reported.
Your web server logs can also help. Search for requests to /edit-student-profile.php and look for unusual values in the cgpa field, long strings, or bursts of requests from one address. That will not prove safety, but it shows whether someone has been probing.
What to do now
- List every place this application runs, including test and demo copies. Small PHP projects often end up forgotten on shared hosting.
- Check the vendor site and release notes for a patched build. If none is confirmed, treat the product as unpatched.
- Take the app off the public internet if you can, or restrict it by IP address or VPN until it is fixed.
- If you must keep it online, change the query behind /edit-student-profile.php to a parameterized statement, or put a web application firewall rule in front of the cgpa field as a stopgap.
- Make sure the database account used by the app has only the permissions it needs, and that it cannot read other databases.
- Back up the database and review it for unexpected rows or new accounts.
- Plan a replacement if the vendor does not ship a fix.
If you want a quick look at what your own projects pull in, the free in-browser dependency scan at https://gold.safeguard.sh/scan needs no setup. The Gold directory lets you look up other CVEs by id.
Why it matters
This is CWE-89, listed alongside the parent class CWE-74 in the record. The application builds a query from the cgpa value without separating data from command. When that happens, a visitor can influence the query, and the impact depends on database permissions and on what the page does with the results.
Small PHP applications like this are often deployed exactly as shipped, so a flaw in the code is a flaw in every copy. One reported injection point is a reason to review the rest of the app, not just the field named in CVE-2025-4793. Even a medium or high score here can matter, because a database often holds personal data and login hashes.
Quick check
Is there a patch for CVE-2025-4793?
I could not confirm one from the record. Check the vendor site listed in the references, and treat the product as unpatched until a fixed version is named.
Is this being exploited in the wild?
The record says an exploit was disclosed publicly, but CVE-2025-4793 is not marked as exploited in the CISA Known Exploited Vulnerabilities catalog. Still, public disclosure raises the odds of scanning.
Sources
- Gold page for CVE-2025-4793
- github.com (listed in the CVE record)
- phpgurukul.com (listed in the CVE record)
- vuldb.com (listed in the CVE record)
- vuldb.com (listed in the CVE record)
Last reviewed: 18 October 2026.