# CVE-2022-0149: WooCommerce – Store Exporter < 2.7.1 - Reflected Cross-Site Scripting (XSS)

> Reflected XSS in WooCommerce Store Exporter allows attackers to execute arbitrary scripts in admin sessions.

- **Severity:** Medium 6.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`)
- **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:** 7 Feb 2022
- **Updated:** 2 Aug 2024
- **Also known as:** GHSA-3r84-frqg-8226

## What is CVE-2022-0149?

CVE-2022-0149 is a medium-severity cross-site scripting vulnerability in Unknown WooCommerce – Store Exporter, published on 7 Feb 2022. 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 WooCommerce Stored Exporter WordPress plugin before 2.7.1 was affected by a Reflected Cross-Site Scripting (XSS) vulnerability in the woo_ce admin page.

Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)

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

It affects 1 product.


Products: Visser Store Exporter for Woocommerce.

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

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

## Is CVE-2022-0149 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0149 exists.

Public exploit code:

- WooCommerce Stored Exporter WordPress Plugin < 2.7.1 - Cross-Site Scripting (nuclei): http/cves/2022/CVE-2022-0149.yaml

## Other vulnerabilities in Unknown WooCommerce – Store Exporter

- [CVE-2016-10935](https://insights.sbomify.com/CVE-2016-10935/): The woocommerce-exporter plugin before 1.8.4 for WordPress has privilege escalation. (critical 9.8)
- [CVE-2023-46822](https://insights.sbomify.com/CVE-2023-46822/): WordPress WooCommerce – Store Exporter Plugin <= 2.7.2 is vulnerable to Cross Site Scripting (XSS) (high 7.1)
- [CVE-2024-8793](https://insights.sbomify.com/CVE-2024-8793/): Cross-site scripting in Store Exporter – Export WooCommerce Products, Orders, Subscriptions, Customers (medium 6.1)

## Fix prompt for AI coding agents

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

What it is: CVE-2022-0149 is a medium-severity cross-site scripting vulnerability in Unknown WooCommerce – Store Exporter, published on 7 Feb 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0149 exists.

Affected product: Unknown WooCommerce – Store Exporter. 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-0149/ (Markdown: https://insights.sbomify.com/CVE-2022-0149/index.md)
```

## Sources

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

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