GHSA-jq9q-6p42-qpr7: Ezsystems/ezdemo ls extension Cross-Site Scripting Vulnerability

HIGH
CWE-79
Published
Advisory Summary

GHSA-jq9q-6p42-qpr7 is a HIGH cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ezsystems/ezdemo ls extension libraries in the Packagist ecosystem. The issue involves cross-site scripting (xss) in demobundle/ezdemo bundled videojs. Remediation is available by upgrading affected packages to version 5.4.2.1.

GHSA-jq9q-6p42-qpr7 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-jq9q-6p42-qpr7
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Ezsystems/ezdemo ls extension
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-jq9q-6p42-qpr7

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

ezsystems/ezdemo-ls-extension fixed: 5.4.2.1
Upgrade ezsystems/ezdemo-ls-extension to 5.4.2.1
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 ezsystems/ezdemo-ls-extension

How to Check if You Are Affected

To determine whether your application is affected by GHSA-jq9q-6p42-qpr7, inspect your project dependencies for Ezsystems/ezdemo ls extension:

inspect dependencies for ezsystems/ezdemo-ls-extension

Analyze the terminal output to locate any version of Ezsystems/ezdemo ls extension in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.2.1), 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 Ezsystems/ezdemo ls extension, 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

his Security Advisory is about a vulnerability in VideoJS, which is bundled in DemoBundle and the ezdemo legacy extension. Older releases of VideoJS contain an XSS vulnerability in the Flash-based video player. This is bundled in DemoBundle, and in the Legacy "ezdemo" and "ezdemo-ls-extension" extensions. Among the branches still receiving security advisories, only eZ Publish Platform 5.4 and eZ Publish Legacy 5.4 are affected. However, it may be possible to make this software work in newer branches, so please check whether you have it installed even if you're using eZ Platform 1.x or 2.x. Because DemoBundle / ezdemo are only intended for demo purposes, they are not supported software. For that reason, and given the old age of the software, and manpower issues during the Coronavirus crisis, we are taking the unusual step of simply removing the affected file. This resolves the vulnerability, but also breaks the video playback feature. It may be possible to make it work again by upgrading to a current version of VideoJS, but it is unlikely that we will do this, given the reasons already mentioned.

GHSA-jq9q-6p42-qpr7 Affected Ezsystems/ezdemo ls extension Versions

1 component(s)
Fixed Versions:
5.4.2.1
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezdemo-ls-extension
Packagist
≥ 5.4.0
< 5.4.2.1
5.4.2.1

References

Frequently Asked Questions

What is GHSA-jq9q-6p42-qpr7?
GHSA-jq9q-6p42-qpr7 is a security vulnerability in Ezsystems/ezdemo ls extension involving Cross-site Scripting (XSS) in DemoBundle/ezdemo bundled VideoJS under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Ezsystems/ezdemo ls extension versions are affected?
Affected versions include releases prior to 5.4.2.1 across affected packages: ezsystems/ezdemo-ls-extension.
What version fixes GHSA-jq9q-6p42-qpr7?
Upgrading to 5.4.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezdemo-ls-extension affected?
Yes, ezsystems/ezdemo-ls-extension is affected in releases prior to 5.4.2.1. Upgrade your dependency to 5.4.2.1 or later.
What CWE is associated with GHSA-jq9q-6p42-qpr7?
GHSA-jq9q-6p42-qpr7 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 GHSA-jq9q-6p42-qpr7?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezdemo-ls-extension'. 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-jq9q-6p42-qpr7",
  "modified" : "2024-05-15T21:06:24Z",
  "published" : "2024-05-15T21:06:24Z",
  "aliases" : [ ],
  "summary" : "Cross-site Scripting (XSS) in DemoBundle/ezdemo bundled VideoJS",
  "details" : "his Security Advisory is about a vulnerability in VideoJS, which is bundled in DemoBundle and the ezdemo legacy extension. Older releases of VideoJS contain an XSS vulnerability in the Flash-based video player. This is bundled in DemoBundle, and in the Legacy \"ezdemo\" and \"ezdemo-ls-extension\" extensions. Among the branches still receiving security advisories, only eZ Publish Platform 5.4 and eZ Publish Legacy 5.4 are affected. However, it may be possible to make this software work in newer branches, so please check whether you have it installed even if you're using eZ Platform 1.x or 2.x.\n\nBecause DemoBundle / ezdemo are only intended for demo purposes, they are not supported software. For that reason, and given the old age of the software, and manpower issues during the Coronavirus crisis, we are taking the unusual step of simply removing the affected file. This resolves the vulnerability, but also breaks the video playback feature. It may be possible to make it work again by upgrading to a current version of VideoJS, but it is unlikely that we will do this, given the reasons already mentioned.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezdemo-ls-extension"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.4.0"
      }, {
        "fixed" : "5.4.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://ezplatform.com/security-advisories/ezsa-2020-003-xss-in-demobundle-ezdemo-bundled-videojs"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezdemo-ls-extension/2020-04-21-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezdemo-ls-extension"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201024034648/https://ezplatform.com/security-advisories/ezsa-2020-003-xss-in-demobundle-ezdemo-bundled-videojs"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T21:06:24Z",
    "nvd_published_at" : null
  }
}