CVE-2026-3746 is a SQL injection flaw in SourceCodester Simple Responsive Tourism Website 1.0, scored 7.3 (High) in the CVE record. The weak spot is the Username parameter in /tourism/classes/Login.php?f=login. The record lists no fixed version, so take the app off public networks, and if you maintain the code, replace string built queries with prepared statements.
What's affected
- Product: SourceCodester Simple Responsive Tourism Website
- Affected version: 1.0
- Location:
/tourism/classes/Login.php?f=login - Input at issue: the Username parameter
- Fixed version: none listed in the record
The record says the exploit has been disclosed publicly. It does not say the flaw is being used in attacks, and the CVE is not in the CISA Known Exploited Vulnerabilities catalog.
Check the project page or vendor site for a newer release.
How to check if you're exposed
Start with whether the app exists in your estate at all. Sample and student projects from code listing sites often end up on a spare server and stay there.
find /var/www /srv /opt /home -name "Login.php" 2>/dev/null
If the file turns up, confirm the app is version 1.0 and whether the web server answers from outside your network. Then open that file and read how it builds its database query. If the request value is joined into the SQL text instead of passed as a bound parameter, the weakness is present.
What to do now
- Find every copy of the app, including staging and backup hosts.
- If it faces the internet, take it offline or put it behind a VPN or an allow list of known addresses now.
- Check the project page for a patched release. If none exists, plan to retire the app or fix the query yourself.
- If you keep it, change the affected query to use prepared statements with bound parameters, and give the database account only the rights the app needs.
- Review web server and database logs for odd requests to the affected page.
Why it matters
The record files this under CWE-74 and CWE-89. When input is joined into a query, the database cannot tell the developer's SQL from the visitor's text. That is the whole class of flaw, and the fix is to bind values as parameters instead of building strings.
Small PHP projects shared as free downloads are copied widely and patched rarely. Many copies of this app may exist in places nobody tracks, so the first job is finding them.
Quick check
Is there a patch for this?
The record lists no fixed version. Check the project page or vendor site, and until you find one, limit network access to the app.
Does a dependency scan find this?
No. The flaw is in the app's own PHP code, not in a library. Code review or a static code scan finds this kind of issue, and the dependency scan covers the packages around it.
Sources
Last reviewed: 19 October 2026.