{"schemaVersion":4,"id":"CVE-2025-13457","aliases":[],"status":"published","duplicateOf":null,"title":"WooCommerce Square <= 5.1.1 - Unauthenticated Insecure Direct Object Reference to Sensitive Information Exposure in get_token_by_id","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.","dates":{"published":"2026-01-10T03:21:01.113Z","modified":"2026-01-12T16:49:14.896Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00345,"percentile":0.3001,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00345},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00292,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00345,"percentile":0.3001}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00587,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00345,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00345,"percentile":0.3001}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key","description":"The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/639.html"}],"affected":[{"vendor":"woocommerce","product":"woocommerce square","name":"WooCommerce Square","label":"woocommerce square","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.2.0, < 4.2.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.2.0","startInclusive":true,"end":"4.2.3","endInclusive":false}},{"text":"≥ 4.3.0, < 4.3.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.3.0","startInclusive":true,"end":"4.3.2","endInclusive":false}},{"text":"≥ 4.4.0, < 4.4.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.4.0","startInclusive":true,"end":"4.4.2","endInclusive":false}},{"text":"≥ 4.5.0, < 4.5.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.5.0","startInclusive":true,"end":"4.5.2","endInclusive":false}},{"text":"≥ 4.6.0, < 4.6.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.6.0","startInclusive":true,"end":"4.6.4","endInclusive":false}},{"text":"≥ 4.7.0, < 4.7.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.7.0","startInclusive":true,"end":"4.7.4","endInclusive":false}},{"text":"≥ 4.8.0, < 4.8.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.8.0","startInclusive":true,"end":"4.8.8","endInclusive":false}},{"text":"≥ 4.9.0, < 4.9.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.9.0","startInclusive":true,"end":"4.9.9","endInclusive":false}},{"text":"≥ 5.0.0, < 5.0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.0.1","endInclusive":false}},{"text":"≥ 5.1.0, < 5.1.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.1.0","startInclusive":true,"end":"5.1.2","endInclusive":false}}],"versionsText":"≥ 4.2.0, < 4.2.3 | ≥ 4.3.0, < 4.3.2 | ≥ 4.4.0, < 4.4.2 | ≥ 4.5.0, < 4.5.2 | ≥ 4.6.0, < 4.6.4 | ≥ 4.7.0, < 4.7.4 | ≥ 4.8.0, < 4.8.8 | ≥ 4.9.0, < 4.9.9 | ≥ 5.0.0, < 5.0.1 | ≥ 5.1.0, < 5.1.2","eol":null,"hubHref":"/vendor/woocommerce/woocommerce_square"},{"vendor":"wordpress","product":"woocommerce-square","name":"WooCommerce Square","label":"woocommerce-square","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.2.0, < 4.2.3","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"4.2.0","startInclusive":true,"end":"4.2.3","endInclusive":false}},{"text":"≥ 4.3.0, < 4.3.2 (fixed in 4.2.3)","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"4.3.0","startInclusive":true,"end":"4.3.2","endInclusive":false}},{"text":"≥ 4.4.0, < 4.4.2 (fixed in 4.2.3)","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"4.4.0","startInclusive":true,"end":"4.4.2","endInclusive":false}},{"text":"≥ 4.5.0, < 4.5.2 (fixed in 4.2.3)","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"4.5.0","startInclusive":true,"end":"4.5.2","endInclusive":false}},{"text":"≥ 4.6.0, < 4.6.4 (fixed in 4.2.3)","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"4.6.0","startInclusive":true,"end":"4.6.4","endInclusive":false}},{"text":"≥ 4.7.0, < 4.7.4 (fixed in 4.2.3)","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"4.7.0","startInclusive":true,"end":"4.7.4","endInclusive":false}},{"text":"≥ 4.8.0, < 4.8.8 (fixed in 4.2.3)","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"4.8.0","startInclusive":true,"end":"4.8.8","endInclusive":false}},{"text":"≥ 4.9.0, < 4.9.9 (fixed in 4.2.3)","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"4.9.0","startInclusive":true,"end":"4.9.9","endInclusive":false}},{"text":"≥ 5.0.0, < 5.0.1 (fixed in 4.2.3)","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.0.1","endInclusive":false}},{"text":"≥ 5.1.0, < 5.1.2 (fixed in 4.2.3)","noFixRecorded":false,"fixedIn":"4.2.3","bounds":{"kind":"range","start":"5.1.0","startInclusive":true,"end":"5.1.2","endInclusive":false}}],"versionsText":"≥ 4.2.0, < 4.2.3 | ≥ 4.3.0, < 4.3.2 (fixed in 4.2.3) | ≥ 4.4.0, < 4.4.2 (fixed in 4.2.3) | ≥ 4.5.0, < 4.5.2 (fixed in 4.2.3) | ≥ 4.6.0, < 4.6.4 (fixed in 4.2.3) | ≥ 4.7.0, < 4.7.4 (fixed in 4.2.3) | ≥ 4.8.0, < 4.8.8 (fixed in 4.2.3) | ≥ 4.9.0, < 4.9.9 (fixed in 4.2.3) | ≥ 5.0.0, < 5.0.1 (fixed in 4.2.3) | ≥ 5.1.0, < 5.1.2 (fixed in 4.2.3)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c7f4f726-7e53-4397-8d8b-7a574326adc6?source=cve","label":"www.wordfence.com/threat-intel/vulnerabilities/id/c7f4f726-7e53-4397-8d8b-7a574326adc6?source=cve","hostname":"www.wordfence.com","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3415850/woocommerce-square","label":"plugins.trac.wordpress.org/changeset/3415850/woocommerce-square","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c7f4f726-7e53-4397-8d8b-7a574326adc6","label":"www.wordfence.com/threat-intel/vulnerabilities/id/c7f4f726-7e53-4397-8d8b-7a574326adc6","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-01-10T03:21:01.113Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-12T16:49:14.896Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,0,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00345,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-01-12T16:49:14.896Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-01-12T16:49:14.896Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"wordfence","date":"2026-01-12T16:49:14.896Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-01-12T16:49:05.848Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00345,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T11:16:59.273Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T11:16:59.802Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T11:16:59.995Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T11:01:01.512Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T11:16:57.726Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T11:16:56.764Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T11:37:37.460Z","stale":false,"partial":false}}