Cross-site Scripting in wp-mpdf Plugin by WordPress
CVE-2025-60040

6.5MEDIUM

Key Information:

Vendor

WordPress

Status
Vendor
CVE Published:
26 September 2025

What is CVE-2025-60040?

The wp-mpdf plugin for WordPress is susceptible to a stored Cross-site Scripting (XSS) vulnerability that allows attackers to inject malicious scripts into web pages. This issue arises from improper neutralization of user input during the generation of web pages. Attackers can exploit this flaw in versions up to 3.9.1, potentially leading to unauthorized access and compromising user data.

Affected Version(s)

wp-mpdf <= 3.9.1

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Muhammad Yudha - DJ (Patchstack Alliance)
.