{
 "id": "WPSEC-2026-0860",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0860/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0860/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0860/index.md",
 "title": "MPG <= 4.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'base-url' Shortcode Attribute",
 "description": "The MPG – Multiple Page Generator, Bulk Landing Pages & Programmatic SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'base-url' attribute of the plugin's [mpg] and [mpg_match] shortcodes in all versions up to, and including, 4.2.4, due to insufficient input sanitization and output escaping. The attribute is HTML-entity-decoded and then put, without escaping, in front of each generated page URL that replaces the {{mpg_url}} placeholder in the shortcode's rendered content. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
 "plugin": {
  "slug": "multiple-pages-generator-by-porthas",
  "name": "MPG",
  "full_name": "MPG – Multiple Page Generator, Bulk Landing Pages & Programmatic SEO",
  "wordpress_org": "https://wordpress.org/plugins/multiple-pages-generator-by-porthas/",
  "advisories_url": "https://wpsec.com/vuln/plugin/multiple-pages-generator-by-porthas/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/multiple-pages-generator-by-porthas"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.2.5",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.2.5"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.2.5",
 "remediation": "Update to 4.2.5 or later.",
 "fix_released": "2026-10-13T00:26:15+00:00",
 "published": "2026-10-14T00:47:43+00:00",
 "updated": "2026-10-13T12:13:39.813992+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0860/",
  "https://plugins.svn.wordpress.org/multiple-pages-generator-by-porthas/tags/4.2.5/",
  "https://wordpress.org/plugins/multiple-pages-generator-by-porthas/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/multiple-pages-generator-by-porthas",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-13"
 }
}