Summary
CVE-2026-79322 is an unauthenticated SQL injection vulnerability in the Mageplaza Blog for Magento 2 extension (mageplaza/magento-2-blog-extension), affecting all versions through 4.3.2. The flaw resides in the RelatedProduct block, which builds a database query by concatenating a user-supplied request parameter directly into a SQL WHERE clause. It carries a CVSS v3.1 base score of 8.6 (High) and requires no authentication or user interaction, making internet-facing Magento storefronts running this extension directly exploitable.
Technical details
- Root cause:
Block/Post/RelatedProduct.phpreads theidrequest parameter and appends it, unquoted and uncast, into a Zend_Db_Selectwhere()clause (->where('product_post.post_id = ' . $postId)) instead of using parameter binding. - Trigger conditions: sending a crafted
idvalue to the/mpblog/post/viewendpoint; the targeted blog post must have at least one related product configured for the vulnerable code path to execute. - Attack vector: a simple unauthenticated HTTP GET request over the network, e.g.
/mpblog/post/view?id=1 AND SLEEP(5), with time-based behavior confirming injection. - Impact: arbitrary SQL command execution against the Magento database, enabling extraction of customer records, order history, product data, and potentially administrative credentials, as well as database-driven denial of service.
Affected software
- Mageplaza Blog for Magento 2 (
mageplaza/magento-2-blog-extension) — all versions through 4.3.2
Severity
- CVSS v3.1 Base Score: 8.6 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Mitigation and recommended actions
- Immediate: no official patched version has been published as of disclosure; monitor the vendor’s repository for a fixed release and upgrade as soon as one is available.
- If no patch: restrict or filter requests to
/mpblog/post/viewat the WAF/reverse-proxy layer, validate that theidparameter is strictly numeric before it reaches the application, and monitor for anomalous or time-delayed requests to this endpoint. Consider disabling the RelatedProduct feature/module if not in use until a fix is released.

