{"schemaVersion":3,"id":"CVE-2026-5231","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The WP Statistics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'utm_source' parameter in all versions up to, and including, 14.16.4. This is due to insufficient input sanitization and output escaping. The plugin's referral parser copies the raw utm_source value into the source_name field when a wildcard channel domain matches, and the chart renderer later inserts this value into legend markup via innerHTML without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in admin pages that will execute whenever an administrator accesses the Referrals Overview or Social Media analytics pages.","dates":{"published":"2026-04-17T01:24:37.573Z","modified":"2026-04-17T14:30:43.119Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00419,"percentile":0.3504,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.05700000000000002,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00476},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00419,"percentile":0.3504}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00419,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00419,"percentile":0.3504}]},"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-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"veronalabs","product":"wp statistics – simple, privacy-friendly google analytics alternative","name":"WP Statistics – Simple, privacy-friendly Google Analytics alternative","label":"wp statistics – simple, privacy-friendly google analytics alternative","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 14.16.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.16.4","eol":null,"hubHref":"/vendor/veronalabs/wp_statistics_-_simple_privacy-friendly_google_analytics_alternative"},{"vendor":"wordpress","product":"wp-statistics","name":"WP Statistics – Simple, privacy-friendly Google Analytics alternative","label":"wp-statistics","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 14.16.4 (fixed in 14.16.5)","noFixRecorded":false,"fixedIn":"14.16.5"}],"versionsText":"≤ 14.16.4 (fixed in 14.16.5)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/9b350b48-05ba-4054-895f-36d7ad71459d?source=cve","label":"www.wordfence.com/threat-intel/vulnerabilities/id/9b350b48-05ba-4054-895f-36d7ad71459d?source=cve","hostname":"www.wordfence.com","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-statistics/trunk/assets/dev/javascript/chart.js#L498","label":"plugins.trac.wordpress.org/browser/wp-statistics/trunk/assets/dev/javascript/chart.js","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.4/assets/dev/javascript/chart.js#L498","label":"plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.4/assets/dev/javascript/chart.js","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-statistics/trunk/src/Service/Analytics/Referrals/ReferralsParser.php#L62","label":"plugins.trac.wordpress.org/browser/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.16.4/src/Service/Analytics/Referrals/ReferralsParser.php#L62","label":"plugins.trac.wordpress.org/browser/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3503795%40wp-statistics%2Ftrunk&old=3483860%40wp-statistics%2Ftrunk&sfp_email=&sfph_mail=","label":"plugins.trac.wordpress.org/changeset","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/9b350b48-05ba-4054-895f-36d7ad71459d","label":"www.wordfence.com/threat-intel/vulnerabilities/id/9b350b48-05ba-4054-895f-36d7ad71459d","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-17T01:24:37.573Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-17T14:30:43.119Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T07:11:34.333Z","stale":false,"partial":false}}