# CVE-2025-5138: Bitwarden PDF File cross site scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-25T00:31:04.887Z
- Modified: 2026-06-17T09:47:18.390Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in Bitwarden up to 2.25.1. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the component PDF File Handler. The manipulation leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The vendor was contacted early about this disclosure but did not respond in any way.

(As written by CVE List.)

## Affected

- Bitwarden: 2.25.0; 2.25.1

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/YZS17/CVE/blob/main/PDF%20XSS%20vulnerability%20in%20file%20upload%20function%20of%20%20Bitwarden.md> (exploit)
- <https://vuldb.com/?id.310219> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.310219> (permissions-required, signature)
- <https://vuldb.com/?submit.572263> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-5138](https://www.cve.org/CVERecord?id=CVE-2025-5138), CVE Terms of Use, modified 2025-06-20
- NVD: [CVE-2025-5138](https://nvd.nist.gov/vuln/detail/CVE-2025-5138), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5138 · Whole record: https://cve.day/CVE-2025-5138.json · Rebuilt by cve.day 2026-11-25T22:58:58.461Z
