Skip to main content

Magical Posts Display CVE-2025-12965

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-12 security@wordfence.com
6.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Author-level WordPress account
  2. Delivery
    Inject script via mpac_title_tag in Accordion widget
  3. Exploit
    Malicious tag stored unsanitized in page
  4. Execution
    Victim loads injected page
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche WordPress display plugin, modest install base, not core software
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy