Skip to main content
VulnerabilityPublished Updated

CVE-2025-13457: WooCommerce Square (WordPress plugin) · Insecure Direct Object Reference

Affects WooCommerce Square (WordPress plugin)Source CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 5.1.2 : patch WooCommerce Square (WordPress plugin) soon.

Data as of 29 Nov 2026, 18:36 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.1.2, 5.0.1, 4.9.9 +7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
woocommerceWooCommerce SquareAffected
  • >=5.1.0 <5.1.2
Fixed in
  • 5.1.2
woocommerceWooCommerce SquareAffected
  • >=5.0.0 <5.0.1
Fixed in
  • 5.0.1
woocommerceWooCommerce SquareAffected
  • >=4.9.0 <4.9.9
Fixed in
  • 4.9.9
woocommerceWooCommerce SquareAffected
  • >=4.8.0 <4.8.8
Fixed in
  • 4.8.8
woocommerceWooCommerce SquareAffected
  • >=4.7.0 <4.7.4
Fixed in
  • 4.7.4
woocommerceWooCommerce SquareAffected
  • >=4.6.0 <4.6.4
Fixed in
  • 4.6.4

AI-suggested

To mitigate CVE-2025-13457, organizations should immediately upgrade the WooCommerce Square plugin to a patched version once available. If you cannot patch yet, administrators should implement strict access controls and input validation on the get_token_by_id function to ensure that user-supplied keys are authorized and correspond only to the requesting user’s tokens. Employing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious requests targeting the vulnerable endpoint can reduce exploitation risk. Monitoring logs for unusual access patterns or repeated attempts to access ccof tokens is critical for early detection. Additionally, organizations should review and tighten API permissions and consider disabling the Square integration temporarily if feasible. Conducting a thorough audit of stored payment tokens and transaction logs can help identify any fraudulent activity. Finally, educating development teams about secure coding practices related to authorization checks and direct object references will help prevent similar vulnerabilities in the future.

Description

The WooCommerce Square plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.1.1 via the get_token_by_id function due to missing validation on a user controlled key. This makes it possible for unauthenticated attackers to expose arbitrary Square "ccof" (credit card on file) values and leverage this value to potentially make fraudulent charges on the target site.

References

Community reviews

Loading reviews…