CVE-2013-4744: Oliverklee/phpunit Cross-Site Scripting Vulnerability

LOW
Advisory Identifier: GHSA-c5x3-gq36-prrp
CWE-79
Published
Advisory Summary

CVE-2013-4744 is a LOW cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Oliverklee/phpunit libraries in the Packagist ecosystem. The issue involves phpunit extension for typo3 vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 3.5.15.

CVE-2013-4744 at a Glance

CVE Identifier CVE-2013-4744
GHSA Identifier GHSA-c5x3-gq36-prrp
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 Oliverklee/phpunit
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2013-4744

To remediate this vulnerability, upgrade all affected Oliverklee/phpunit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

oliverklee/phpunit fixed: 3.5.15
Upgrade oliverklee/phpunit to 3.5.15
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 oliverklee/phpunit

How to Check if You Are Affected

To determine whether your application is affected by CVE-2013-4744, inspect your project dependencies for Oliverklee/phpunit:

inspect dependencies for oliverklee/phpunit

Analyze the terminal output to locate any version of Oliverklee/phpunit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.5.15), 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 Oliverklee/phpunit, 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 the PHPUnit extension before 3.5.15 for TYPO3 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

CVE-2013-4744 Affected Oliverklee/phpunit Versions

1 component(s)
Fixed Versions:
3.5.15
Product / Package Ecosystem Affected Versions Fixed Version
oliverklee/phpunit
Packagist
< 3.5.15
3.5.15

References

Frequently Asked Questions

What is CVE-2013-4744?
CVE-2013-4744 is a security vulnerability in Oliverklee/phpunit involving PHPUnit extension for TYPO3 vulnerable to Cross-site Scripting under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Oliverklee/phpunit versions are affected?
Affected versions include releases prior to 3.5.15 across affected packages: oliverklee/phpunit.
What version fixes CVE-2013-4744?
Upgrading to 3.5.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is oliverklee/phpunit affected?
Yes, oliverklee/phpunit is affected in releases prior to 3.5.15. Upgrade your dependency to 3.5.15 or later.
What CWE is associated with CVE-2013-4744?
CVE-2013-4744 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-4744?
Run the dependency tree command: 'inspect dependencies for oliverklee/phpunit'. 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-c5x3-gq36-prrp",
  "modified" : "2025-04-12T03:12:48Z",
  "published" : "2022-05-13T01:29:03Z",
  "aliases" : [ "CVE-2013-4744" ],
  "summary" : "PHPUnit extension for TYPO3 vulnerable to Cross-site Scripting",
  "details" : "Cross-site scripting (XSS) vulnerability in the PHPUnit extension before 3.5.15 for TYPO3 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" : "oliverklee/phpunit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.5.15"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4744"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/81194"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/oliverklee/ext-phpunit"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20130129050219/http://typo3.org/teams/security/security-bulletins/typo3-extensions/typo3-ext-sa-2013-001"
  }, {
    "type" : "WEB",
    "url" : "http://typo3.org/extensions/repository/view/phpunit"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-12T03:12:48Z",
    "nvd_published_at" : "2013-07-01T21:55:00Z"
  }
}