CVE-2025-13705: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in blakelong Custom Frames
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.
AI Analysis
Technical Summary
CVE-2025-13705 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Custom Frames plugin for WordPress, developed by blakelong. The vulnerability exists in all versions up to and including 1.0.1 and stems from insufficient input sanitization and output escaping of the 'class' parameter within the 'customframe' shortcode. This flaw allows authenticated attackers with Contributor-level privileges or higher to inject arbitrary JavaScript code into pages generated by the plugin. Because the injected scripts are stored persistently, they execute every time a user accesses the affected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of users without their consent. The vulnerability is classified under CWE-79, which covers improper neutralization of input during web page generation. The CVSS v3.1 base score is 6.4, reflecting a medium severity level, with an attack vector of network, low attack complexity, requiring privileges, no user interaction, and a scope change. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability affects all versions of the plugin, which is used to embed custom frames in WordPress pages, a common feature in content management and web publishing. The flaw's exploitation requires authenticated access at Contributor level or above, which means attackers must have some level of trust or access to the WordPress site, but no user interaction is needed for the payload to execute once injected. This vulnerability highlights the importance of strict input validation and output encoding in WordPress plugins, especially those handling user-supplied parameters in shortcodes.
Potential Impact
The impact of CVE-2025-13705 can be significant for organizations using the Custom Frames plugin on WordPress sites. Successful exploitation allows attackers with Contributor-level access to inject persistent malicious scripts, which execute in the context of any user visiting the compromised page. This can lead to session hijacking, credential theft, unauthorized actions performed on behalf of users, defacement, or distribution of malware. Since the attack requires authenticated access, insider threats or compromised contributor accounts pose a direct risk. The vulnerability affects the confidentiality and integrity of user data and site content but does not impact availability. Organizations with multiple contributors or open contributor policies are at higher risk. The scope is broad because the injected scripts can affect all users accessing the infected pages, potentially including administrators. This can erode user trust, cause reputational damage, and lead to regulatory compliance issues if sensitive data is exposed. Although no known exploits are currently reported, the medium severity and ease of exploitation with low complexity make it a credible threat that should be addressed promptly.
Mitigation Recommendations
To mitigate CVE-2025-13705, organizations should first check for and apply any official patches or updates from the plugin vendor once available. In the absence of patches, immediate steps include disabling the Custom Frames plugin to prevent exploitation. Implement strict input validation on the 'class' parameter of the 'customframe' shortcode, ensuring only safe, expected values are accepted. Employ robust output encoding and escaping techniques to neutralize any injected scripts before rendering. Limit Contributor-level access strictly to trusted users and review user roles and permissions regularly to reduce the risk of insider threats. Conduct thorough code reviews and security testing on all plugins, especially those handling user input in shortcodes. Monitor web server logs and WordPress activity logs for unusual behavior or injection attempts. Consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block malicious payloads targeting this vulnerability. Educate content contributors about the risks of injecting untrusted content. Finally, maintain regular backups and have an incident response plan ready to address potential exploitation.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Japan, Netherlands, Italy, Spain
CVE-2025-13705: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in blakelong Custom Frames
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-13705 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Custom Frames plugin for WordPress, developed by blakelong. The vulnerability exists in all versions up to and including 1.0.1 and stems from insufficient input sanitization and output escaping of the 'class' parameter within the 'customframe' shortcode. This flaw allows authenticated attackers with Contributor-level privileges or higher to inject arbitrary JavaScript code into pages generated by the plugin. Because the injected scripts are stored persistently, they execute every time a user accesses the affected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of users without their consent. The vulnerability is classified under CWE-79, which covers improper neutralization of input during web page generation. The CVSS v3.1 base score is 6.4, reflecting a medium severity level, with an attack vector of network, low attack complexity, requiring privileges, no user interaction, and a scope change. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability affects all versions of the plugin, which is used to embed custom frames in WordPress pages, a common feature in content management and web publishing. The flaw's exploitation requires authenticated access at Contributor level or above, which means attackers must have some level of trust or access to the WordPress site, but no user interaction is needed for the payload to execute once injected. This vulnerability highlights the importance of strict input validation and output encoding in WordPress plugins, especially those handling user-supplied parameters in shortcodes.
Potential Impact
The impact of CVE-2025-13705 can be significant for organizations using the Custom Frames plugin on WordPress sites. Successful exploitation allows attackers with Contributor-level access to inject persistent malicious scripts, which execute in the context of any user visiting the compromised page. This can lead to session hijacking, credential theft, unauthorized actions performed on behalf of users, defacement, or distribution of malware. Since the attack requires authenticated access, insider threats or compromised contributor accounts pose a direct risk. The vulnerability affects the confidentiality and integrity of user data and site content but does not impact availability. Organizations with multiple contributors or open contributor policies are at higher risk. The scope is broad because the injected scripts can affect all users accessing the infected pages, potentially including administrators. This can erode user trust, cause reputational damage, and lead to regulatory compliance issues if sensitive data is exposed. Although no known exploits are currently reported, the medium severity and ease of exploitation with low complexity make it a credible threat that should be addressed promptly.
Mitigation Recommendations
To mitigate CVE-2025-13705, organizations should first check for and apply any official patches or updates from the plugin vendor once available. In the absence of patches, immediate steps include disabling the Custom Frames plugin to prevent exploitation. Implement strict input validation on the 'class' parameter of the 'customframe' shortcode, ensuring only safe, expected values are accepted. Employ robust output encoding and escaping techniques to neutralize any injected scripts before rendering. Limit Contributor-level access strictly to trusted users and review user roles and permissions regularly to reduce the risk of insider threats. Conduct thorough code reviews and security testing on all plugins, especially those handling user input in shortcodes. Monitor web server logs and WordPress activity logs for unusual behavior or injection attempts. Consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block malicious payloads targeting this vulnerability. Educate content contributors about the risks of injecting untrusted content. Finally, maintain regular backups and have an incident response plan ready to address potential exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-25T21:45:55.293Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 693cef64d977419e584a501c
Added to database: 12/13/2025, 4:45:24 AM
Last enriched: 2/27/2026, 10:12:58 AM
Last updated: 3/26/2026, 11:10:05 AM
Views: 45
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.