CVE-2013-1844: Matomo/matomo Cross-Site Scripting Vulnerability

LOW
Advisory Identifier: GHSA-5fpj-6vq6-fmwh
CWE-79
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2013-1844
GHSA Identifier GHSA-5fpj-6vq6-fmwh
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Matomo/matomo
Package Ecosystem Packagist
Published Date
Last Updated

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.

matomo/matomo fixed: 1.11
Upgrade matomo/matomo to 1.11
piwik/piwik fixed: 1.11
Upgrade piwik/piwik to 1.11
Verify Direct and Transitive Dependencies

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

Cross-site scripting (XSS) vulnerability in Piwik before 1.11 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

CVE-2013-1844 Affected Matomo/matomo Versions

2 component(s)
Fixed Versions:
1.11
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?
CVE-2013-1844 is a security vulnerability in Matomo/matomo involving Piwik (now Matomo) Vulnerable to Cross-Site Scripting (XSS) under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Matomo/matomo versions are affected?
Affected versions include releases prior to 1.11 across affected packages: matomo/matomo, piwik/piwik.
What version fixes CVE-2013-1844?
Upgrading to 1.11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is matomo/matomo affected?
Yes, matomo/matomo is affected in releases prior to 1.11. Upgrade your dependency to 1.11 or later.
Is piwik/piwik affected?
Yes, piwik/piwik is affected in releases prior to 1.11. Upgrade your dependency to 1.11 or later.
What CWE is associated with CVE-2013-1844?
CVE-2013-1844 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Packagist dependencies for CVE-2013-1844?
Run the dependency tree command: 'inspect dependencies for matomo/matomo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}