WP-Matomo Integration (WP-Piwik) <= 1.0.28 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-4774
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:25 UTC · Revision 1
Source evidence
WP-Matomo Integration (WP-Piwik) <= 1.0.28 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
core-osv · Original sourcePublished 22 Sept 2023, 05:31 UTC
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.
osv:CVE-2023-4774
Complete source record
{
"id": "a14b21c7ba2d9a8bff401bf1a1799c385ceb68d4841532d53014ce1c8105a4a3",
"url": "https://osv.dev/vulnerability/CVE-2023-4774",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "WP-Matomo Integration (WP-Piwik) <= 1.0.28 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode",
"summary": "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.",
"evidence": "osv:CVE-2023-4774",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-4774",
"aliases": [
"CVE-2023-4774"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/matomo-org/WP-Matomo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "f0b52fc86a4d5b0ff148da0fe10db2395644e148"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:braekling:connect_matomo:*:*:*:*:*:wordpress:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.0.28"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.0.28",
"v1.0.27",
"v1.0.26",
"v1.0.25",
"v1.0.21",
"v1.0.20",
"v1.0.18",
"v1.0.16",
"v1.0.13",
"v1.0.9",
"v1.0.8",
"v1.0.6",
"v1.0.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4774.json"
}
}
],
"modified": "2026-10-28T02:30:28.185895267Z",
"provider": "osv",
"references": [
"https://plugins.trac.wordpress.org/browser/wp-piwik/tags/1.0.28/classes/WP_Piwik/Widget/OptOut.php#L28",
"https://plugins.trac.wordpress.org/changeset/2969705/wp-piwik#file164",
"https://www.wordfence.com/threat-intel/vulnerabilities/id/faa4f041-4740-4ebb-afb3-10019ce571be?source=cve",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4774.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-4774"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "Wordfence",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "1.0.28"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4774.json"
}
},
"related_cves": [
{
"value": "CVE-2023-4774",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494949,
"published_at": "2023-09-22T05:31:26.949+00:00"
}