CVE-2023-4774
MEDIUM
5.4
CVSS 3.1
Description
The WP-Matomo Integration (WP-Piwik) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wp-piwik' shortcode in versions up to, and including, 1.0.28 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected WordPress components
-
Connect Matomo – Analytics Dashboard for WordPress Plugin · wp-piwikUp to and including 1.0.28View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- matomoteam Connect Matomo – Analytics Dashboard for WordPress — Up to and including 1.0.28
- braekling connect_matomo — Up to and including 1.0.28
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-piwik/tags/1.0.28/classes/WP_Piwik/Widget/OptOut.php#L28 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2969705/wp-piwik#file164 Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/faa4f041-4740-4ebb-afb3-10019ce571be?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record