Cyber Resilience

CVE-2025-7185

MediumPublic PoC

Published: 08 July 2025

Published
08 July 2025
Modified
29 April 2026
KEV Added
Patch
CVSS Score v4 5.5 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0028 51.4th percentile
Risk Priority 11 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-7185 is a medium-severity Injection (CWE-74) vulnerability in Code-Projects Library System. Its CVSS base score is 5.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 48.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SC-7 (Boundary Protection).

Deeper analysis

CVE-2025-7185 is a critical SQL injection vulnerability (CWE-74, CWE-89) in code-projects Library System 1.0, affecting unknown code within the /approve.php file. The issue arises from manipulation of the ID argument, allowing remote attackers to inject malicious SQL payloads. Published on 2025-07-08, it carries a CVSS v3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L).

Unauthenticated remote attackers can exploit this vulnerability with low attack complexity and no user interaction required. Successful exploitation enables partial impacts on confidentiality, integrity, and availability, such as unauthorized data access, modification, or disruption via SQL injection.

Advisories and related details are available through references including VulDB entries (vuldb.com/?ctiid.315124, vuldb.com/?id.315124, vuldb.com/?submit.607186), a GitHub issue at github.com/HeDunSec/cve/issues/1, and the vendor site at code-projects.org. The exploit has been publicly disclosed and may be in use.

EU & UK References

Vulnerability details

A vulnerability was found in code-projects Library System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /approve.php. The manipulation of the argument ID leads to sql injection. The attack can be initiated remotely.…

more

The exploit has been disclosed to the public and may be used.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
Why these techniques?

SQL injection in public-facing /approve.php enables exploitation of public-facing applications (T1190), abuse of server software components like web app/DB backend (T1505), and data collection from databases via arbitrary queries (T1213.006).

CVEs Like This One

CVE-2025-7184Same product: Code-Projects Library System
CVE-2025-7174Same product: Code-Projects Library System
CVE-2025-7179Same product: Code-Projects Library System
CVE-2025-7173Same product: Code-Projects Library System
CVE-2025-7199Same product: Code-Projects Library System
CVE-2025-7412Same product: Code-Projects Library System
CVE-2025-7413Same product: Code-Projects Library System
CVE-2025-2039Same vendor: Code-Projects
CVE-2025-2033Same vendor: Code-Projects
CVE-2025-7191Same vendor: Code-Projects

Affected Assets

code-projects
library system
1.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation of the ID parameter in approve.php to reject SQL metacharacters and block injection payloads before they reach the database.

preventdetect

Boundary-protection mechanisms such as a WAF or application-layer filter can inspect and drop remote SQL-injection attempts targeting /approve.php.

detect

Continuous monitoring of web-application traffic and database query logs can identify anomalous SQL syntax originating from unauthenticated remote requests.

References