Magical Posts Display CVE-2025-12965
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Author-level WordPress account
-
DeliveryInject script via mpac_title_tag in Accordion widget
-
ExploitMalicious tag stored unsanitized in page
-
ExecutionVictim loads injected page
-
ImpactScript executes in victim browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account with Author-level capabilities or above on the target WordPress site, and the site must use the Magical Posts Display plugin (≤1.2.54) with the Magical Posts Accordion widget available for the attacker to edit. The specific injection point is the 'mpac_title_tag' parameter (the HTML tag-name field) of that widget, which lacks input sanitization and output escaping. Limiting factors: the Author-privilege requirement (PR:L) means this cannot be exploited by anonymous/unauthenticated visitors, and payload execution depends on another user subsequently rendering the injected page; impact is limited to client-side script execution (C:L/I:L/A:N), not direct server-side code execution. |
| Impact | This is a moderate, not top-priority, issue. The CVSS 3.1 base score is 6.4 (Medium), driven largely by the Scope change (S:C) inherent to stored XSS - the injected script executes in the browser security context of other users rather than the vulnerable WordPress backend itself. The vector (AV:N/AC:L/PR:L/UI:N) indicates network-reachable, low-complexity exploitation, but critically requires PR:L - the attacker must already hold an authenticated Author-level (or higher) account, which is a meaningful barrier on most sites where Author accounts are not freely granted. Exploitation signals are weak: EPSS is just 0.22% (11th percentile), there is no CISA KEV listing, and no public exploit code was identified in the provided sources. The signals are internally consistent - a low EPSS aligns with the lack of KEV/POC and the privilege prerequisite - so there is no contradiction to flag, but note the impact ratings (C:L/I:L/A:N) confirm this yields script execution with limited confidentiality/integrity effect, not direct server compromise. Net: a legitimate issue to patch, but the Author-level prerequisite and absence of exploitation evidence place it below internet-facing unauthenticated flaws in priority. |
| Exploit ScenarioDerived | An authenticated user with at least Author-level access on a WordPress site running Magical Posts Display (≤1.2.54) edits a page or post using the Magical Posts Accordion widget and supplies a malicious HTML tag name in the 'mpac_title_tag' parameter, which is stored without sanitization. When an administrator or other visitor subsequently views that page, the injected script executes in their browser, potentially enabling session hijacking or admin-context actions. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Stored cross-site scripting in the Magical Posts Display WordPress plugin (all versions up to and including 1.2.54) lets an authenticated attacker with Author-level capabilities or higher inject arbitrary script into a page through the 'mpac_title_tag' parameter of the Magical Posts Accordion widget, which is not sanitized on input or escaped on output. The injected payload executes in the browser of any user who later views the affected page, giving the attacker a limited client-side foothold (CVSS 6.4; C:L/I:L/A:N, scope changed); the Author-privilege prerequisite means anonymous visitors cannot trigger it. EPSS is low at 0.22% (11th percentile), there is no indication of confirmed active exploitation (no CISA KEV entry), and no public exploit code was identified at time of analysis, making this a moderate, not top-priority, issue.
RemediationAI
Apply the upstream fix: update Magical Posts Display to the release that incorporates changeset 3407965 (the commit that addresses the 'mpac_title_tag' handling) - this is an upstream fix available in the plugin's Trac, and the exact patched release number is not independently confirmed from the data provided, though any version later than 1.2.54 should be treated as the target and verified against the WordPress.org plugin page (https://wordpress.org/plugins/magical-posts-display/) and the changeset diff. If immediate upgrade is not possible, disable or avoid the Magical Posts Accordion widget so the vulnerable rendering path is never exposed, and audit existing widget configurations for suspicious values in 'mpac_title_tag'; the trade-off is loss of the accordion display feature. Because exploitation requires an Author-level account, tightly restrict who holds Author or higher roles on the site, remove unused accounts, and consider a role-management plugin to lower default privileges - the trade-off is reduced publishing workflow flexibility for contributors. Content-security-policy headers that disallow inline script, and a WAF rule blocking or stripping angle-bracket characters in the 'mpac_title_tag' parameter, provide additional defense-in-depth but can break legitimate widget configuration and should be tested before enforcement. Review the record via the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/8352400f-fea1-486d-872a-66340300cee9) for further detail.
Affected ProductsAI
All versions of the Magical Posts Display plugin for WordPress up to and including 1.2.54 are affected, specifically when the Magical Posts Accordion widget is used; the plugin is distributed from the WordPress.org directory at https://wordpress.org/plugins/magical-posts-display/. The vulnerable code path is the 'mpac_title_tag' (HTML tag name) setting of that widget, which fails to sanitize input and escape output. No CPE strings were supplied in the available intelligence, so identification should rely on the plugin slug/version (magical-posts-display ≤ 1.2.54) rather than a platform CPE. The vendor reference at https://plugins.trac.wordpress.org/changeset?old=3407965%40magical-posts-display&new=3407965%40magical-posts-display (changeset 3407965, file 34) documents the code fix, and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/8352400f-fea1-486d-872a-66340300cee9 provides the vendor-coordinated disclosure details.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-79 stored cross-site scripting flaw in a WordPress widget. The Magical Posts Display plugin ships an Accordion widget that builds post markup, and the 'mpac_title_tag' setting lets the editor choose the HTML element used as the post title tag. That tag name is taken from user input and written into the rendered page without validating it against an allow-list of legitimate HTML element names and without escaping it on output. Because the value is persisted in the widget configuration, the malicious markup becomes part of the stored page content rather than a one-off reflected injection. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) confirms a network-reachable, low-complexity issue that requires a low-privileged account: the attacker must be authenticated with Author-level access or above, but no victim interaction is needed beyond a user opening the poisoned page. The changed-scope rating (S:C) reflects that script executing in the victim's browser can influence resources beyond the vulnerable widget itself, though confidentiality and integrity impacts remain limited and availability is unaffected.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Author-level account needed so PR:L; stored payload auto-executes on page view giving UI:N; cross-context browser execution justifies S:C with limited C:L/I:L and no availability impact.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The Magical Posts Display plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'mpac_title_tag' parameter in the Magical Posts Accordion widget in all versions up to, and including, 1.2.54 due to insufficient input sanitization and output escaping on user-supplied HTML tag names. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB