GHSA-8c85-4rr5-chr4: Ezsystems/demobundle Cross-Site Scripting Vulnerability
HIGHGHSA-8c85-4rr5-chr4 is a HIGH cross-site scripting vulnerability (General Security Weakness) affecting Ezsystems/demobundle 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.6.1.
GHSA-8c85-4rr5-chr4 at a Glance
How to Fix GHSA-8c85-4rr5-chr4
To remediate this vulnerability, upgrade all affected Ezsystems/demobundle 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 ezsystems/demobundle to 5.4.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ezsystems/demobundle
How to Check if You Are Affected
To determine whether your application is affected by GHSA-8c85-4rr5-chr4, inspect your project dependencies for Ezsystems/demobundle:
inspect dependencies for ezsystems/demobundle
Analyze the terminal output to locate any version of Ezsystems/demobundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.6.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 General Security Weakness. In Ezsystems/demobundle, 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
GHSA-8c85-4rr5-chr4 Affected Ezsystems/demobundle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ezsystems/demobundle
|
Packagist |
≥ 5.4.0
< 5.4.6.1
|
5.4.6.1
|
References
Frequently Asked Questions
What is GHSA-8c85-4rr5-chr4?
Which Ezsystems/demobundle versions are affected?
What version fixes GHSA-8c85-4rr5-chr4?
Is ezsystems/demobundle affected?
What CWE is associated with GHSA-8c85-4rr5-chr4?
How can I check Packagist dependencies for GHSA-8c85-4rr5-chr4?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8c85-4rr5-chr4",
"modified" : "2024-05-15T21:06:22Z",
"published" : "2024-05-15T21:06:22Z",
"aliases" : [ ],
"summary" : "Cross-site Scripting (XSS) in DemoBundle/ezdemo bundled VideoJS",
"details" : "This 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/demobundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.4.0"
}, {
"fixed" : "5.4.6.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/demobundle/2020-04-21-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ezsystems/DemoBundle"
}, {
"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" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T21:06:22Z",
"nvd_published_at" : null
}
}