CVE-2025-12885: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in awsmin Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files
The Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the sanitize_pdf_src function regex bypass in all versions up to, and including, 2.7.10 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
The Embed Any Document plugin for WordPress suffers from a stored cross-site scripting vulnerability due to a regex bypass in the sanitize_pdf_src function. This improper neutralization of input allows authenticated users with Contributor-level privileges or above to inject arbitrary web scripts into pages. These scripts execute in the context of users visiting the infected pages, potentially leading to information disclosure or session hijacking. The vulnerability affects all plugin versions up to 2.7.10. A patch is available to remediate this issue.
Potential Impact
An attacker with Contributor-level access or higher can inject persistent malicious scripts into pages via the vulnerable plugin. These scripts execute in the browsers of users who visit the infected pages, potentially leading to limited confidentiality and integrity impacts such as theft of user data or session tokens. There is no impact on availability. The vulnerability has a CVSS 3.1 base score of 6.4, indicating medium severity.
Mitigation Recommendations
A patch is available to fix this vulnerability. Users of the Embed Any Document plugin should update to the latest version beyond 2.7.10 to remediate the issue. Until patched, restrict Contributor-level access to trusted users only to reduce risk.
CVE-2025-12885: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in awsmin Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files
Description
The Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the sanitize_pdf_src function regex bypass in all versions up to, and including, 2.7.10 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
The Embed Any Document plugin for WordPress suffers from a stored cross-site scripting vulnerability due to a regex bypass in the sanitize_pdf_src function. This improper neutralization of input allows authenticated users with Contributor-level privileges or above to inject arbitrary web scripts into pages. These scripts execute in the context of users visiting the infected pages, potentially leading to information disclosure or session hijacking. The vulnerability affects all plugin versions up to 2.7.10. A patch is available to remediate this issue.
Potential Impact
An attacker with Contributor-level access or higher can inject persistent malicious scripts into pages via the vulnerable plugin. These scripts execute in the browsers of users who visit the infected pages, potentially leading to limited confidentiality and integrity impacts such as theft of user data or session tokens. There is no impact on availability. The vulnerability has a CVSS 3.1 base score of 6.4, indicating medium severity.
Mitigation Recommendations
A patch is available to fix this vulnerability. Users of the Embed Any Document plugin should update to the latest version beyond 2.7.10 to remediate the issue. Until patched, restrict Contributor-level access to trusted users only to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-07T17:24:29.931Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69437e144dbf28c5eab53ba6
Added to database: 12/18/2025, 4:07:48 AM
Last enriched: 4/9/2026, 9:26:17 AM
Last updated: 5/10/2026, 8:15:24 AM
Views: 236
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.