← Vulnerability feed

Vulnerability record · CVE-2021-37538 · published 24 August 2021

CVE-2021-37538: SmartBlog for PrestaShop unauthenticated SQL injection

Smartdatasoft · Smartblog

SmartBlog for PrestaShop before 4.06 contains multiple SQL injection flaws in its archive and category front controllers. The day, month, and year parameters in controllers/front/archive.php and the id_category parameter in controllers/front/category.php are not properly sanitized, letting a remote attacker inject arbitrary SQL. Because the module is a public-facing storefront component, any reachable shop running an affected version is exposed.

9.8 CVSS 3.1 Critical EPSS 74% · top 0.5% CWE-89 · SQL injection
9.8CVSS 3.1 base score, v2 7.5
74%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Multiple SQL injection vulnerabilities in SmartDataSoft SmartBlog for PrestaShop before 4.06 allow a remote unauthenticated attacker to execute arbitrary SQL commands via the day, month, or year parameter to the controllers/front/archive.php archive controller, or the id_category parameter to the controllers/front/category.php category controller.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or interaction required, public exploit detail, and a very high EPSS score make this an urgent patch target.

What it is

SmartBlog for PrestaShop before 4.06 contains multiple SQL injection flaws in its archive and category front controllers. The day, month, and year parameters in controllers/front/archive.php and the id_category parameter in controllers/front/category.php are not properly sanitized, letting a remote attacker inject arbitrary SQL. Because the module is a public-facing storefront component, any reachable shop running an affected version is exposed.

Impact

An attacker can execute arbitrary SQL commands against the PrestaShop database, enabling theft of customer and order data, credential extraction, and modification or destruction of stored records. Full compromise of the database layer is possible without any account.

Attack surface

Reached over the network through the public archive and category front controllers of the SmartBlog module; no authentication and no user interaction are required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). Any internet-exposed PrestaShop store with the affected module is a candidate target.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.74489 probability, 99.469th percentile) and the references include an Exploit-tagged third-party advisory, indicating public exploit detail is available. No ransomware usage is documented.

What to do

  • Upgrade SmartBlog for PrestaShop to version 4.06 or later immediately.
  • If patching is not possible, disable or remove the SmartBlog module until it can be updated.
  • Apply a WAF rule blocking SQL metacharacters in the day, month, year, and id_category parameters on archive and category routes.
  • Restrict direct access to controllers/front/archive.php and controllers/front/category.php where feasible.
  • Review database and web logs for prior exploitation attempts and rotate database credentials if compromise is suspected.

Detection

  • Search web logs for requests to controllers/front/archive.php and controllers/front/category.php containing SQL keywords, quotes, or comment sequences in day, month, year, or id_category.
  • Alert on SQL error strings or unexpected 500 responses from SmartBlog front controllers.
  • Monitor database query logs for UNION, stacked queries, or information_schema access originating from the web application user.
  • Baseline normal parameter values for these controllers and flag deviations in length or character set.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-37538 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2020-36972Smartdatasoft smartblog sql injection vulnerabilitySmartBlog 2.0.1 contains a blind SQL injection vulnerability in the 'id_post' parameter of the details controller that allows attackers to extract da…EPSS 0.33%9.8CVE-2026-76461Cisco AsyncOS email parsing SQL injection allows root command executionCisco AsyncOS Software for Cisco Secure Email Gateway fails to properly validate email parsing input, allowing crafted email messages containing mali…KEVEPSS 28%analysed9.3CVE-2026-9586Sangoma Switchvox unauthenticated SQL injection in /pa endpointSangoma Switchvox SMB Edition 8.3 (104997) fails to sanitize the PhoneIP value from XML content beginning with <PolycomIPPhone> before concatenating …KEVEPSS 19%analysed10.0CVE-2026-72898Metabase unauthenticated SQL injection in reset_password endpointMetabase exposes a database endpoint, '/reset_password', that fails to neutralize attacker-supplied SQL, allowing arbitrary SQL injection. Because th…KEVEPSS 19%analysed5.9CVE-2026-60137WordPress WP_Query author__not_in SQL injectionWordPress core fails to properly sanitise the author__not_in parameter of WP_Query in versions before 6.8.6, 6.9.5 and 7.0.2, allowing SQL injection …KEVEPSS 5.9%analysed9.8CVE-2026-9082Drupal core SQL injection in unauthenticated request pathDrupal core contains a SQL injection flaw (CWE-89) caused by improper neutralization of special elements in SQL commands. It affects multiple core br…KEVEPSS 16%analysed9.3CVE-2026-42208LiteLLM proxy SQL injection in API key checkLiteLLM versions 1.81.16 to before 1.83.7 build a database query for proxy API key checks by concatenating the caller-supplied key into the query tex…KEVEPSS 5.8%analysed9.8CVE-2026-21643FortiClientEMS SQL injection allows unauthenticated remote code executionFortiClientEMS 7.4.4 fails to neutralize special elements in SQL commands, exposing a SQL injection reachable through crafted HTTP requests. Because …KEVEPSS 94%analysed

Source: NIST National Vulnerability Database (record CVE-2021-37538), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.