CVE-2025-7157 Details
Description
A vulnerability was found in code-projects Online Note Sharing 1.0. It has been classified as critical. Affected is an unknown function of the file /login.php. The manipulation of the argument username/password leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
A critical SQL injection vulnerability exists in Code-Projects Online Note Sharing version 1.0, specifically within the login.php file. The issue arises because the application fails to properly sanitize user input in the username and password fields before incorporating it into SQL queries. This vulnerability allows remote attackers to inject arbitrary SQL, potentially bypassing authentication, accessing or modifying database information, and executing additional attacks such as privilege escalation.
It is recommended to use prepared statements for database queries to prevent SQL injection. Additionally, all user input should be sanitized before being used in SQL commands. Implementing a web application firewall (WAF) can also help block suspicious input patterns.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Product |
| https://github.com/yihaofuweng/cve/issues/3 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.315096 | [email protected] | Permissions Required |
| https://vuldb.com/?id.315096 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.606355 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| anisha online note sharing | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jul 9, 2025 | Initial Analysis | [email protected] |
| Jul 8, 2025 | New CVE Received | [email protected] |