CVE-2025-51658: SemCms SQL injection in SEMCMS_InquiryView.php

CVE-2025-51658 · Severity: medium · CVSS 5.4 · Published 2025-07-14

SemCms, a content management system used for building corporate and e-commerce websites, contains a security flaw in its inquiry viewing component. An attacker with basic user access can exploit this flaw to gain unauthorized access to the underlying database. This could lead to the exposure of sensitive business information or the modification of website data.

Technologies: SEMCMS. Vendors: SEMCMS.

Quick answers

Is CVE-2025-51658 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-51658 being exploited in the wild.
How severe is CVE-2025-51658?
Medium severity, with a CVSS score of 5.4, published 14 July 2025.
Which products and versions are affected?
SEMCMS <= 5.0.
Is there a fix for CVE-2025-51658?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2025-51658 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2025-51658?
Check whether you run SEMCMS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A SQL injection vulnerability exists in SemCms versions up to and including 5.0. The flaw is located in the 'ID' parameter of the 'SEMCMS_InquiryView.php' script, which fails to properly sanitize user-supplied input before using it in a database query. An authenticated attacker with low-level privileges can send specially crafted network requests to execute arbitrary SQL commands. Successful exploitation allows the attacker to read, modify, or delete data within the database, potentially gaining full database administrator (DBA) permissions. No official patch has been confirmed in the provided advisory, though users are advised to validate all input parameters.

Affected products

  • SemCms SemCms <= 5.0

Timeline

  • 2025-07-14: disclosed: Initial vulnerability disclosure and CVE assignment.
  • 2025-07-14: advisory: NVD published the vulnerability details.

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.