Medium severity · published Sep 22, 2023
CVE-2023-4774
WP-Matomo Integration (WP-Piwik) <= 1.0.28 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
5.4
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 52% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CM
Connect Matomo – Analytics Dashboard for WordPress · matomoteam
through 1.0.28 · source: vendor
CM
Connect Matomo · Braekling
through 1.0.28 · source: NVD
Affected product
CM
Connect Matomo – Analytics Dashboard for WordPress
matomoteam
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-4774
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-4774
Patch
https://plugins.trac.wordpress.org/browser/wp-piwik/tags/1.0.28/classes/WP_Piwik/Widget/OptOut.php#L28
Patch
https://plugins.trac.wordpress.org/changeset/2969705/wp-piwik#file164
Third Party Advisory
https://www.wordfence.com/threat-intel/vulnerabilities/id/faa4f041-4740-4ebb-afb3-10019ce571be?source=cve
