CVE-2025-5289: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in iberezansky 3D FlipBook – PDF Embedder, PDF Flipbook Viewer, Flipbook Image Gallery
The 3D FlipBook – PDF Embedder, PDF Flipbook Viewer, Flipbook Image Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘style’ and 'mode' parameters in all versions up to, and including, 1.16.15 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. Note: This issue affects only block-based themes.
AI Analysis
Technical Summary
CVE-2025-5289 is a stored Cross-Site Scripting (XSS) vulnerability affecting the WordPress plugin suite developed by iberezansky, specifically the 3D FlipBook – PDF Embedder, PDF Flipbook Viewer, and Flipbook Image Gallery plugins. These plugins are widely used to embed and display PDF documents and image galleries in a flipbook style within WordPress sites. The vulnerability arises from improper neutralization of input during web page generation, classified under CWE-79. Specifically, the 'style' and 'mode' parameters are insufficiently sanitized and escaped, allowing an attacker to inject arbitrary JavaScript code that is stored persistently within the plugin's data and executed whenever a user accesses the affected page. This vulnerability affects all versions up to and including 1.16.15 and is limited to WordPress sites using block-based themes. Exploitation requires the attacker to have at least Contributor-level authenticated access to the WordPress site, which is a relatively low privilege level that allows content creation but not administrative control. The vulnerability does not require user interaction once the malicious script is injected, as the payload executes automatically when the page is viewed. The CVSS v3.1 base score is 6.4 (medium severity), reflecting the network attack vector, low attack complexity, required privileges, no user interaction, and a scope change due to the potential impact on other users. The impact primarily affects confidentiality and integrity by allowing script execution in the context of the victim's browser, potentially leading to session hijacking, defacement, or further exploitation of the site or its users. No known exploits are currently reported in the wild, and no official patches have been released at the time of this analysis.
Potential Impact
For European organizations, this vulnerability poses a significant risk especially to those relying on WordPress sites with block-based themes and using the affected iberezansky plugins for document or image display. The ability for an authenticated contributor to inject persistent malicious scripts can lead to unauthorized access to sensitive user data, session tokens, or internal resources via browser-based attacks. This can facilitate phishing, credential theft, or lateral movement within the organization's web infrastructure. Public-facing websites, intranets, or customer portals using these plugins are particularly vulnerable, potentially damaging reputation and trust. Given the medium CVSS score and the requirement for authenticated access, the threat is moderate but can escalate if attackers gain contributor access through weak credentials or social engineering. The scope change indicates that the vulnerability can affect users beyond the initial attacker, amplifying the impact. Additionally, the lack of patches increases the window of exposure. European organizations in sectors such as finance, healthcare, education, and government, which often use WordPress for content management, may face compliance and regulatory risks if user data is compromised.
Mitigation Recommendations
1. Immediate mitigation should include restricting Contributor-level access strictly to trusted users and reviewing user roles and permissions to minimize the risk of unauthorized content submission. 2. Disable or remove the affected iberezansky plugins if they are not essential, or replace them with alternative plugins that have no known vulnerabilities. 3. For sites that must continue using these plugins, implement a Web Application Firewall (WAF) with custom rules to detect and block suspicious payloads targeting the 'style' and 'mode' parameters. 4. Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of injected scripts. 5. Regularly audit and sanitize existing content for malicious scripts, especially in pages created or edited by contributors. 6. Monitor logs for unusual contributor activity or unexpected changes in pages using the affected plugins. 7. Stay alert for official patches or updates from the vendor and apply them promptly once available. 8. Educate content contributors about secure content practices and the risks of injecting untrusted code. These measures go beyond generic advice by focusing on access control tightening, proactive content auditing, and layered defenses specific to the nature of this stored XSS vulnerability.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland, Sweden, Belgium, Austria
CVE-2025-5289: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in iberezansky 3D FlipBook – PDF Embedder, PDF Flipbook Viewer, Flipbook Image Gallery
Description
The 3D FlipBook – PDF Embedder, PDF Flipbook Viewer, Flipbook Image Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘style’ and 'mode' parameters in all versions up to, and including, 1.16.15 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. Note: This issue affects only block-based themes.
AI-Powered Analysis
Technical Analysis
CVE-2025-5289 is a stored Cross-Site Scripting (XSS) vulnerability affecting the WordPress plugin suite developed by iberezansky, specifically the 3D FlipBook – PDF Embedder, PDF Flipbook Viewer, and Flipbook Image Gallery plugins. These plugins are widely used to embed and display PDF documents and image galleries in a flipbook style within WordPress sites. The vulnerability arises from improper neutralization of input during web page generation, classified under CWE-79. Specifically, the 'style' and 'mode' parameters are insufficiently sanitized and escaped, allowing an attacker to inject arbitrary JavaScript code that is stored persistently within the plugin's data and executed whenever a user accesses the affected page. This vulnerability affects all versions up to and including 1.16.15 and is limited to WordPress sites using block-based themes. Exploitation requires the attacker to have at least Contributor-level authenticated access to the WordPress site, which is a relatively low privilege level that allows content creation but not administrative control. The vulnerability does not require user interaction once the malicious script is injected, as the payload executes automatically when the page is viewed. The CVSS v3.1 base score is 6.4 (medium severity), reflecting the network attack vector, low attack complexity, required privileges, no user interaction, and a scope change due to the potential impact on other users. The impact primarily affects confidentiality and integrity by allowing script execution in the context of the victim's browser, potentially leading to session hijacking, defacement, or further exploitation of the site or its users. No known exploits are currently reported in the wild, and no official patches have been released at the time of this analysis.
Potential Impact
For European organizations, this vulnerability poses a significant risk especially to those relying on WordPress sites with block-based themes and using the affected iberezansky plugins for document or image display. The ability for an authenticated contributor to inject persistent malicious scripts can lead to unauthorized access to sensitive user data, session tokens, or internal resources via browser-based attacks. This can facilitate phishing, credential theft, or lateral movement within the organization's web infrastructure. Public-facing websites, intranets, or customer portals using these plugins are particularly vulnerable, potentially damaging reputation and trust. Given the medium CVSS score and the requirement for authenticated access, the threat is moderate but can escalate if attackers gain contributor access through weak credentials or social engineering. The scope change indicates that the vulnerability can affect users beyond the initial attacker, amplifying the impact. Additionally, the lack of patches increases the window of exposure. European organizations in sectors such as finance, healthcare, education, and government, which often use WordPress for content management, may face compliance and regulatory risks if user data is compromised.
Mitigation Recommendations
1. Immediate mitigation should include restricting Contributor-level access strictly to trusted users and reviewing user roles and permissions to minimize the risk of unauthorized content submission. 2. Disable or remove the affected iberezansky plugins if they are not essential, or replace them with alternative plugins that have no known vulnerabilities. 3. For sites that must continue using these plugins, implement a Web Application Firewall (WAF) with custom rules to detect and block suspicious payloads targeting the 'style' and 'mode' parameters. 4. Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of injected scripts. 5. Regularly audit and sanitize existing content for malicious scripts, especially in pages created or edited by contributors. 6. Monitor logs for unusual contributor activity or unexpected changes in pages using the affected plugins. 7. Stay alert for official patches or updates from the vendor and apply them promptly once available. 8. Educate content contributors about secure content practices and the risks of injecting untrusted code. These measures go beyond generic advice by focusing on access control tightening, proactive content auditing, and layered defenses specific to the nature of this stored XSS vulnerability.
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-27T20:50:24.544Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6856959e6504ee7903b5a239
Added to database: 6/21/2025, 11:21:02 AM
Last enriched: 6/21/2025, 11:37:17 AM
Last updated: 8/17/2025, 12:44:56 AM
Views: 24
Related Threats
CVE-2025-9091: Hard-coded Credentials in Tenda AC20
LowCVE-2025-9090: Command Injection in Tenda AC20
MediumCVE-2025-9092: CWE-400 Uncontrolled Resource Consumption in Legion of the Bouncy Castle Inc. Bouncy Castle for Java - BC-FJA 2.1.0
LowCVE-2025-9089: Stack-based Buffer Overflow in Tenda AC20
HighCVE-2025-9088: Stack-based Buffer Overflow in Tenda AC20
HighActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.