Script execution via uploaded PDF
Published May 25, 2025 · Updated Jun 20, 2025
Stored script execution in the PDF handler in Bitwarden 2.25.0 and 2.25.1 allows remote authenticated users to run PDF JavaScript. The public demonstration uploads a JavaScript-bearing PDF and shows Chrome's built-in PDF viewer executing it, rather than identifying an unsafe operation in Bitwarden code. The claim requires an authenticated file upload and a recipient opening the PDF, and community analysis says the test used Vaultwarden 1.24.0 and showed intended viewer behavior, so impact on Bitwarden Password Manager remains disputed.
Summary
What happened
Stored script execution in the PDF handler in Bitwarden 2.25.0 and 2.25.1 allows remote authenticated users to run PDF JavaScript. The public demonstration uploads a JavaScript-bearing PDF and shows Chrome's built-in PDF viewer executing it, rather than identifying an unsafe operation in Bitwarden code. The claim requires an authenticated file upload and a recipient opening the PDF, and community analysis says the test used Vaultwarden 1.24.0 and showed intended viewer behavior, so impact on Bitwarden Password Manager remains disputed.
The record
- CVE
- CVE-2025-5138
- Published
- May 25, 2025
- Updated
- Jun 20, 2025
- Vendor
- Bitwarden
- Product
- Bitwarden Password Manager
- Classifications
- CWE-79, CWE-94, T1204.002
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 25, 2025CVE publishedPublication date reported by the CVE source.
- Jun 20, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.25.0
- Affected versionversion=2.25.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- PDF JavaScript upload demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo