CVE-2013-1844: Matomo/matomo Cross-Site Scripting Vulnerability
LOWCVE-2013-1844 is a LOW cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Matomo/matomo libraries in the Packagist ecosystem. The issue involves piwik (now matomo) vulnerable to cross-site scripting (xss). Remediation is available by upgrading affected packages to version 1.11.
CVE-2013-1844 at a Glance
How to Fix CVE-2013-1844
To remediate this vulnerability, upgrade all affected Matomo/matomo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade matomo/matomo to 1.11
Upgrade piwik/piwik to 1.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for matomo/matomo
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-1844, inspect your project dependencies for Matomo/matomo:
inspect dependencies for matomo/matomo
Analyze the terminal output to locate any version of Matomo/matomo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where 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. In Matomo/matomo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2013-1844 Affected Matomo/matomo Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
matomo/matomo
|
Packagist |
< 1.11
|
1.11
|
|
piwik/piwik
|
Packagist |
< 1.11
|
1.11
|
References
Frequently Asked Questions
What is CVE-2013-1844?
Which Matomo/matomo versions are affected?
What version fixes CVE-2013-1844?
Is matomo/matomo affected?
Is piwik/piwik affected?
What CWE is associated with CVE-2013-1844?
How can I check Packagist dependencies for CVE-2013-1844?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5fpj-6vq6-fmwh",
"modified" : "2025-04-12T00:13:55Z",
"published" : "2022-05-13T01:30:28Z",
"aliases" : [ "CVE-2013-1844" ],
"summary" : "Piwik (now Matomo) Vulnerable to Cross-Site Scripting (XSS)",
"details" : "Cross-site scripting (XSS) vulnerability in Piwik before 1.11 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "matomo/matomo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "piwik/piwik"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.11"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-1844"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/matomo-org/matomo"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20130313093839/http://piwik.org/blog/2013/03/piwik-1-11"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2013/03/12/4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-12T00:13:55Z",
"nvd_published_at" : "2013-03-21T21:55:00Z"
}
}