CVE-2025-25168

WordPress BookPress – For Book Authors Plugin <= 1.2.7 - CSRF to Stored XSS vulnerability

Published Feb 7, 2025 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Cross-Site Request Forgery (CSRF) vulnerability in Black and White BookPress – For Book Authors book-press allows Cross-Site Scripting (XSS).This issue affects BookPress – For Book Authors: from n/a through <= 1.2.7.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to craft a forged request that exploits a cross‑site request forgery flaw, leading to the injection of malicious JavaScript that is stored within the WordPress site. Once the script is stored it will execute whenever a page containing the compromised content is viewed by any user. The weakness is identified as CWE‑352, a classic CSRF defect capable of producing persistent XSS. The description does not provide details beyond that the stored script can execute, so the exact downstream effects are limited to what a typical XSS payload could achieve.

Affected Systems

Black and White:BookPress – For Book Authors plugin for WordPress is affected for all releases up to and including version 1.2.7. Versions beyond 1.2.7 are not listed as vulnerable and are presumably not affected.

Risk and Exploitability

The CVSS score of 7.1 indicates moderate to high severity. The EPSS score of less than 1% suggests that the probability of exploitation is very low at present, and the vulnerability is not disclosed in the CISA KEV catalog. The likely attack vector requires a forged request, and it is inferred that an authenticated user with sufficient privileges would need to initiate the attack, but the exact requirements are not detailed in the advisory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the BookPress – For Book Authors plugin to version 1.2.8 or newer to remove the CSRF and XSS flaw.
  • If an upgrade is not possible, deactivate or uninstall the plugin to eliminate the attack surface.
  • Implement CSRF token validation for any privileged forms and restrict script‑injection capabilities to users with the highest level of trust.

Generated by OpenCVE AI on May 2, 2026 at 04:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-4071 Cross-Site Request Forgery (CSRF) vulnerability in blackandwhitedigital BookPress – For Book Authors allows Cross-Site Scripting (XSS). This issue affects BookPress – For Book Authors: from n/a through 1.2.7.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in blackandwhitedigital BookPress – For Book Authors allows Cross-Site Scripting (XSS). This issue affects BookPress – For Book Authors: from n/a through 1.2.7. Cross-Site Request Forgery (CSRF) vulnerability in Black and White BookPress – For Book Authors book-press allows Cross-Site Scripting (XSS).This issue affects BookPress – For Book Authors: from n/a through <= 1.2.7.
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Blackandwhitedigital
Blackandwhitedigital bookpress
CPEs cpe:2.3:a:blackandwhitedigital:bookpress:*:*:*:*:*:wordpress:*:*
Vendors & Products Blackandwhitedigital
Blackandwhitedigital bookpress
Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in blackandwhitedigital BookPress – For Book Authors allows Cross-Site Scripting (XSS). This issue affects BookPress – For Book Authors: from n/a through 1.2.7.
Title WordPress BookPress – For Book Authors Plugin <= 1.2.7 - CSRF to Stored XSS vulnerability
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:11 PM
Reserved
Feb 3, 2025, 1:35 PM
Status
Modified
Published
Feb 7, 2025, 10:15 AM
Modified
Jun 17, 2026, 9:00 AM