# CVE-2025-6871: SourceCodester Simple Company Website Login.php sql injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-29T20:32:05.871Z
- Modified: 2026-06-17T10:02:44.367Z
- Weaknesses: CWE-74, CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulDB

## Description

A vulnerability classified as critical has been found in SourceCodester Simple Company Website 1.0. This affects an unknown part of the file /classes/Login.php. The manipulation of the argument Username leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- SourceCodester Simple Company Website: 1.0
- oretnom23 simple_company_website: 1.0

## Every score

- VulDB: CVSS:4.0 6.9 Medium `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`
- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ez-lbz/poc/issues/27> (exploit, issue-tracking, third-party-advisory)
- <https://vuldb.com/?id.314343> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.314343> (permissions-required, signature)
- <https://vuldb.com/?submit.603641> (third-party-advisory, vdb-entry)
- <https://www.sourcecodester.com/> (product)

## Sources

- CVE List: [CVE-2025-6871](https://www.cve.org/CVERecord?id=CVE-2025-6871), CVE Terms of Use, modified 2025-06-30
- NVD: [CVE-2025-6871](https://nvd.nist.gov/vuln/detail/CVE-2025-6871), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6871 · Whole record: https://cve.day/CVE-2025-6871.json · Rebuilt by cve.day 2026-11-25T22:59:00.370Z
