# CVE-2020-8132: Improper Input Validation and Code Injection in pdf-image

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 2.04%, higher than 82% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-02-28T19:24:41.000Z
- Modified: 2026-06-17T03:25:54.997Z
- Also known as: GHSA-rv7p-mmwq-x674
- Weaknesses: CWE-20, CWE-94
- Assigned by: hackerone

## Description

Lack of input validation in pdf-image npm package version <= 2.0.0 may allow an attacker to run arbitrary code if PDF file path is constructed based on untrusted user input.

(As written by CVE List.)

## Affected

- pdf-image: Not Fixed
- pdf-image (npm): up to 2.0.0
- pdf-image_project pdf-image: up to 2.0.0

## Every score

- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://hackerone.com/reports/781664> (exploit, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8132> (advisory)

## Sources

- CVE List: [CVE-2020-8132](https://www.cve.org/CVERecord?id=CVE-2020-8132), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-rv7p-mmwq-x674](https://github.com/advisories/GHSA-rv7p-mmwq-x674), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-8132](https://nvd.nist.gov/vuln/detail/CVE-2020-8132), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8132 · Whole record: https://cve.day/CVE-2020-8132.json · Rebuilt by cve.day 2026-11-25T22:57:51.011Z
