CVE-2026-79322
Analyzed Analyzed - Analysis Complete

SQL Injection in Mageplaza Blog for Magento 2

Vulnerability report for CVE-2026-79322, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-09

Last updated on: 2026-09-10

Assigner: MITRE

Description

SQL injection in the RelatedProduct block in Mageplaza Blog for Magento 2 (mageplaza/magento-2-blog-extension) through 4.3.2 allows remote unauthenticated attackers to execute arbitrary SQL commands and read arbitrary database contents via the id parameter to /mpblog/post/view.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-09
Last Modified
2026-09-10
Generated
2026-09-30
AI Q&A
2026-09-10
EPSS Evaluated
2026-09-27
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
mageplaza mageplaza_blog to 4.3.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a SQL injection vulnerability in the Mageplaza Blog extension for Magento 2, specifically in the RelatedProduct block. The flaw allows remote unauthenticated attackers to execute arbitrary SQL commands by manipulating the 'id' parameter in the URL of /mpblog/post/view. The vulnerability occurs because user input is directly concatenated into SQL queries without proper sanitization.

Detection Guidance

To detect this SQL injection vulnerability, monitor web server access logs for suspicious requests to /mpblog/post/view with unusual parameters like id=1 AND SLEEP(5) or similar SQL injection payloads. Use tools like SQLmap to test the endpoint: sqlmap -u 'http://target.com/mpblog/post/view?id=1' --batch. Check for delayed responses indicating time-based SQL injection.

Inspect Mageplaza Blog extension files for Block/Post/RelatedProduct.php and verify if user input is directly concatenated into SQL queries without parameter binding.

Impact Analysis

An attacker could exploit this to read sensitive database contents, such as customer data, admin credentials, or order information. They could also perform unauthorized actions or cause denial of service by injecting malicious SQL commands.

Compliance Impact

This vulnerability could lead to unauthorized access to personal data, violating GDPR and HIPAA requirements for data protection and security. Organizations may face legal penalties, reputational damage, and loss of customer trust if exploited.

Mitigation Strategies

Immediately restrict access to /mpblog/post/view by updating .htaccess or web server rules to block suspicious queries. Disable the RelatedProduct block in Mageplaza Blog settings if possible. Implement a web application firewall (WAF) to filter SQL injection attempts.

Contact Mageplaza for a patched version or apply a temporary fix by modifying Block/Post/RelatedProduct.php to use parameterized queries instead of string concatenation. Monitor database logs for unauthorized access attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-79322. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart