WordPress security changelog
MEDIUM CVE-2026-85198 Received

MPG shortcode rendering exposes subscriber SQL injection

MPG through 4.2.1 permits SQL injection through the URL path when [mpg_spintax] is rendered in site-wide content such as a footer or template part. A subscriber can supply path data that reaches an insufficiently prepared query and extract sensitive database information. The authoritative export does not identify the query, table, or exact path segment.

CVE / CNA score 6.5 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
MPG – Multiple Page Generator, Bulk Landing Pages & Programmatic SEO
Plugin slug
multiple-pages-generator-by-porthas
Affected
<= 4.2.1
Safe version
See mitigation notes
Published
Sep 12, 2026
Weakness
CWE-89 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

This CVE was published Sep 12, 2026 and is one of 10 known issues for this plugin.

Update, patch or deactivate.

No fixed release is confirmed in the authoritative export. Remove [mpg_spintax] from site-wide content or deactivate the plugin. The application-level fix must validate the path value against its expected grammar and bind it into a prepared query with fixed SQL structure.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The MPG – Multiple Page Generator, Bulk Landing Pages & Programmatic SEO plugin for WordPress is vulnerable to generic SQL Injection via URL Path in all versions up to, and including, 4.2.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is only exploitable when the [mpg_spintax] shortcode is rendered in site-wide content such as a footer or template part, as the vulnerable code path is only reached when the shortcode is active on the requested page.

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

Primary and upstream sources