{"id":"CVE-2021-25042","aliases":["EUVD-2021-11954","GHSA-6wm6-vgw4-6ghw"],"status":"published","title":"WP Visitor Statistics (Real Time Traffic) \u003c 5.5 - Arbitrary IP Address Exclusion to Stored XSS","description":"The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.5 does not have authorisation and CSRF checks in the updateIpAddress AJAX action, allowing any authenticated user to call it, or make a logged in user do it via a CSRF attack and add an arbitrary IP address to exclude. Furthermore, due to the lack of validation, sanitisation and escaping, users could set a malicious value and perform Cross-Site Scripting attacks against logged in admin","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00524,"percentile":0.44971,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-862"],"published":"2022-02-28T09:06:33Z","modified":"2026-06-17T03:41:21Z","products":[{"vendor":"codepress","product":"visitor_statistics"},{"vendor":"osamaesh","product":"wp visitor statistics (real time traffic)"},{"vendor":"unknown","product":"wp visitor statistics (real time traffic)"}],"references":[{"url":"https://wpscan.com/vulnerability/05b9e478-2d3b-4460-88c1-7f81d3a68ac4","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25042"},{"url":"https://github.com/advisories/GHSA-6wm6-vgw4-6ghw"}],"sources":{"cve":[{"id":"CVE-2021-25042","title":"WP Visitor Statistics (Real Time Traffic) \u003c 5.5 - Arbitrary IP Address Exclusion to Stored XSS","description":"The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.5 does not have authorisation and CSRF checks in the updateIpAddress AJAX action, allowing any authenticated user to call it, or make a logged in user do it via a CSRF attack and add an arbitrary IP address to exclude. Furthermore, due to the lack of validation, sanitisation and escaping, users could set a malicious value and perform Cross-Site Scripting attacks against logged in admin","status":"published","published":"2022-02-28T09:06:33Z","modified":"2024-08-03T19:49:14.59Z","cwes":["CWE-862"],"updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2021-11954","description":"The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.5 does not have authorisation and CSRF checks in the updateIpAddress AJAX action, allowing any authenticated user to call it, or make a logged in user do it via a CSRF attack and add an arbitrary IP address to exclude. Furthermore, due to the lack of validation, sanitisation and escaping, users could set a malicious value and perform Cross-Site Scripting attacks against logged in admin","status":"published","published":"2022-02-28T09:06:33Z","modified":"2024-08-03T19:49:14Z","updated_at":"2026-11-03T03:24:54.862767Z"}],"ghsa":[{"id":"GHSA-6wm6-vgw4-6ghw","title":"The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.5 does not have...","description":"The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.5 does not have authorisation and CSRF checks in the updateIpAddress AJAX action, allowing any authenticated user to call it, or make a logged in user do it via a CSRF attack and add an arbitrary IP address to exclude. Furthermore, due to the lack of validation, sanitisation and escaping, users could set a malicious value and perform Cross-Site Scripting attacks against logged in admin","status":"published","published":"2022-03-01T00:00:31Z","modified":"2023-02-03T05:06:19Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:53:52.731364Z"}],"nvd":[{"id":"CVE-2021-25042","description":"The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.5 does not have authorisation and CSRF checks in the updateIpAddress AJAX action, allowing any authenticated user to call it, or make a logged in user do it via a CSRF attack and add an arbitrary IP address to exclude. Furthermore, due to the lack of validation, sanitisation and escaping, users could set a malicious value and perform Cross-Site Scripting attacks against logged in admin","status":"published","published":"2022-02-28T09:15:08.58Z","modified":"2026-06-17T03:41:21.73Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:07:05.198719Z"}]}}
