Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.3CVE-2026-138395

Black-coffe easy-php-cms – SQL injection in single.php (post parameter)

Published 30/11/2026 · Updated 30/11/2026 · Black-coffe easy-php-cms

Summary

A SQL injection vulnerability was discovered in Black-coffe easy-php-cms (commits 4ca1f761d05fd819b202daf1355ff46881a8f93a and acbb257b2afbf148c8e193d26f277183773572b5), in the function selectPostFromPostsWithUsersOnSingle of single.php. Manipulating the post argument lets an attacker inject SQL into the database query.

Per the CVSS vector (7.3, high), the attack is network-based, low complexity, requires no authentication and no user interaction. Impact is limited loss of confidentiality, integrity and availability (e.g. reading or modifying database content). A public exploit has been released, making exploitation likely. The vulnerability is not listed in CISA KEV.

The project uses a rolling release model, so no fixed version is specified. The maintainer was notified via a GitHub issue but has not responded yet.

Who is affected

Organizations and individuals running Black-coffe easy-php-cms on publicly reachable web servers.

What to do

  1. Check whether you use easy-php-cms and whether your deployment matches the affected commits; monitor the GitHub repository and issue #1 for an official fix, as no fixed version has been published.
  2. Until a fix exists, restrict public access to the application (e.g. VPN, IP allowlisting) or take it offline if not essential.
  3. Deploy WAF rules blocking SQL injection attempts in the post parameter of single.php.
  4. Ensure the application's database account has least privilege and review web server and database logs for suspicious requests to single.php.
  5. Consider migrating to an actively maintained CMS given the lack of maintainer response.

Affected products and versions

Black-coffe easy-php-cms4ca1f761d05fd819b202daf1355ff46881a8f93a · acbb257b2afbf148c8e193d26f277183773572b5

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
Low impact
Integrity
Low impact
Availability
Low impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.