Skip to main content

Custom Frames CVE-2025-13705

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-13 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 Contributor-level WordPress account
  2. Delivery
    Inject payload in customframe shortcode 'class' param
  3. Exploit
    Store malicious post/page
  4. Execution
    Victim views injected page
  5. Persist
    Script executes in victim browser
  6. Impact
    Hijack session / act as admin

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 Contributor-level capabilities or higher on the target WordPress site (per PR:L), and the ability to insert the 'customframe' shortcode with a malicious 'class' parameter into post/page content. The payload only fires when another user subsequently accesses the page containing the injected shortcode, so a victim must view the affected content for impact to occur. Limiting factors: sites that do not grant Contributor accounts to untrusted users, that restrict shortcode/unfiltered-HTML usage, or that have upgraded past version 1.0.1 are not realistically exploitable. The flaw exists specifically because the 'class' parameter is neither sanitized on input nor escaped on output in Custom Frames versions up to and including 1.0.1.

Impact

This is a moderate-severity stored XSS (CVSS 6.4, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) that signals a genuine-but-low-urgency priority rather than an emergency. Multiple signals agree it is not a widespread threat: EPSS is 0.22% (11th percentile), it is NOT on CISA KEV, and no public POC is referenced, so exploitation status is 'no public exploit identified at time of analysis.' The CVSS network vector is real but materially gated by the PR:L requirement - an attacker must already hold a Contributor-level (or higher) account on the target WordPress site, which is an authenticated precondition and the single biggest limiting factor. The S:C (scope change) and C:L/I:L reflect that injected script executes in other users'/administrators' browser context, enabling session theft or admin-action abuse, but impact is 'Low' on each axis and availability is unaffected. No signals conflict here; rather they consistently point to a low-real-world-risk issue whose severity depends almost entirely on whether untrusted users can obtain Contributor accounts. Prioritize patching on multi-author or open-registration sites; deprioritize on single-admin installations.

Exploit ScenarioDerived

An attacker who holds or obtains a Contributor-level account on a WordPress site running Custom Frames ≤1.0.1 embeds a malicious 'customframe' shortcode whose 'class' parameter contains a crafted script payload. When an editor, administrator, or visitor later views the page containing that shortcode, the script executes in their browser, potentially stealing session cookies or performing actions as that higher-privileged user. No public exploit code is referenced, and successful attack requires the authenticated Contributor foothold plus a victim viewing the page.

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 Custom Frames WordPress plugin, affecting all versions up to and including 1.0.1, allows authenticated attackers holding Contributor-level access or higher (CVSS vector PR:L) to inject arbitrary web scripts through the unsanitized 'class' parameter of the 'customframe' shortcode, which then execute in the browser of any user who views the injected page. The flaw carries a CVSS base score of 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), a moderate rating that reflects real but limited impact: exploitation requires an account with shortcode-insertion capability on the target site, and a victim must subsequently access the tainted content, so sites that do not hand out Contributor accounts to untrusted users or that have upgraded past 1.0.1 are not realistically exposed. No public exploit code has been identified and the vulnerability is not listed in CISA KEV, with an EPSS score of 0.22% (11th percentile) indicating a low-urgency, targeted-risk profile rather than a mass-exploitation threat.

RemediationAI

No vendor-released patch has been identified at time of analysis, so the primary recommendation is to deactivate and remove the Custom Frames plugin from any WordPress installation where it is not strictly required, and to monitor the plugin's WordPress.org repository and the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/56f3aa7a-a6f2-42c7-b855-b083fe58f466?source=cve) for a fixed release. Where the framing functionality must be retained, implement compensating controls: first, audit and remove any existing posts or pages containing a [customframe] shortcode with a 'class' value that includes quotes, angle brackets, or event-handler attributes such as onload or onerror, since these are the stored payloads; second, override the plugin's shortcode with a hardened replacement that runs the 'class' attribute through esc_attr() before output, accepting the side effect that legitimate class values containing special characters may be altered; third, restrict Contributor-level and above accounts to trusted personnel and require editorial review of shortcode-bearing submissions, understanding that this is an administrative control rather than a technical fix; and fourth, deploy a web application firewall rule or WordPress content filter that blocks or strips the 'customframe' shortcode whenever its 'class' parameter contains script-related substrings, noting that aggressive filtering can produce false positives on benign CSS class names.

Affected ProductsAI

The affected product is the Custom Frames plugin for WordPress, covering all releases up to and including version 1.0.1, as confirmed by the vendor source references to the 1.0.1 tag (https://plugins.trac.wordpress.org/browser/custom-frames/tags/1.0.1/class.customframes.php#L65) and the corresponding trunk file (https://plugins.trac.wordpress.org/browser/custom-frames/trunk/class.customframes.php#L65); the vulnerable code path is the shortcode handler that processes the 'class' parameter of the [customframe] shortcode. No CPE identifiers were included in the supplied intelligence, but any WordPress installation running the plugin at or below 1.0.1 with Contributor-level or higher accounts available to untrusted users should be treated as in scope, and the plugin's own handler file is the single point of exposure. Full advisory details are published by Wordfence at https://www.wordfence.com/threat-intel/vulnerabilities/id/56f3aa7a-a6f2-42c7-b855-b083fe58f466?source=cve.

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

Custom Frames is a WordPress plugin that provides a 'customframe' shortcode for embedding framed content, and the defect is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) case: the shortcode handler in class.customframes.php (line 65 in both the 1.0.1 tag and trunk as referenced by the vendor's source links) accepts the 'class' attribute and reflects it into the generated HTML without sanitizing the value on input or escaping it on output, allowing an attacker to break out of the attribute context and inject event handlers or markup. Because WordPress grants Contributors the ability to create and submit posts containing shortcodes, and because the payload is stored in the post body and rendered to every subsequent visitor of that page (including higher-privileged editors and administrators), the injection persists beyond the initial submission; the CVSS scope change (S:C) reflects that the script executes in the security context of the broader site rather than of the attacker's own account. The flaw is data-injection rather than code-execution on the server, so no backend compromise occurs, but session theft, administrative action forgery, or defacement via the victim's browser are the practical outcomes.

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

Contributor authentication required (PR:L); stored payload executes in other users' context so scope changes (S:C) with low confidentiality/integrity impact and no availability effect.

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:P/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 Custom Frames plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class' parameter of the 'customframe' shortcode in all versions up to, and including, 1.0.1 due to insufficient input sanitization and output escaping. 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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche WordPress plugin with limited install base
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