# CVE-2022-3342: Jetpack CRM <= 5.3.1 - Cross-Site Request Forgery and PHAR Deserialization

> Unauthenticated attackers can achieve code execution via PHAR deserialization if they upload an archive and trick an administrator into triggering the vulnerable import function.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 20 Oct 2023
- **Updated:** 8 Apr 2026
- **Also known as:** GHSA-w42r-qhq4-9fc9

## What is CVE-2022-3342?

CVE-2022-3342 is a high-severity unsafe deserialization vulnerability in automattic Jetpack CRM – Clients, Leads, Invoices, Billing, Email Marketing, & Automation, published on 20 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

The Jetpack CRM plugin for WordPress is vulnerable to PHAR deserialization via the ‘zbscrmcsvimpf’ parameter in the 'zeroBSCRM_CSVImporterLitehtml_app' function in versions up to, and including, 5.3.1. While the function performs a nonce check, steps 2 and 3 of the check do not take any action upon a failed check. These steps then perform a 'file_exists' check on the value of 'zbscrmcsvimpf'. If a phar:// archive is supplied, its contents will be deserialized and an object injected in the execution stream. This allows an unauthenticated attacker to obtain object injection if they are able to upload a phar archive (for instance if the site supports image uploads) and then trick an administrator into performing an action, such as clicking a link.

Weakness: CWE-502 (Deserialization of Untrusted Data)

## Which versions are affected by CVE-2022-3342?

It affects 1 product.


Products: Automattic Jetpack Crm.

## How do I fix CVE-2022-3342?

No fix has been published for CVE-2022-3342 yet. Limit exposure of the affected software until one is available.

## Is CVE-2022-3342 being exploited?

There is no known exploitation of CVE-2022-3342 in the wild and no public exploit code.

## Other vulnerabilities in automattic Jetpack CRM – Clients, Leads, Invoices, Billing, Email Marketing, & Automation

- [CVE-2023-27429](https://insights.sbomify.com/CVE-2023-27429/): WordPress Jetpack CRM Plugin <= 5.4.4 is vulnerable to Cross Site Scripting (XSS) (medium 5.9)
- [CVE-2022-4497](https://insights.sbomify.com/CVE-2022-4497/): Jetpack CRM < 5.5 - Contributor+ Stored XSS (medium 5.4)
- [CVE-2022-3919](https://insights.sbomify.com/CVE-2022-3919/): Jetpack CRM < 5.4.3 - Admin+ Cross-Site Scripting (medium 4.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-3342 and fix it if it is affected.

What it is: CVE-2022-3342 is a high-severity unsafe deserialization vulnerability in automattic Jetpack CRM – Clients, Leads, Invoices, Billing, Email Marketing, & Automation, published on 20 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2022-3342 in the wild and no public exploit code.

Affected product: automattic Jetpack CRM – Clients, Leads, Invoices, Billing, Email Marketing, & Automation. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-3342/ (Markdown: https://insights.sbomify.com/CVE-2022-3342/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-3342
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-3342
- OSV: https://osv.dev/vulnerability/CVE-2022-3342

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-3342/
Summaries are generated and may contain mistakes; the official description above is the record.
