GHSA-4c2w-v5rq-5mx7: Ezsystems/ezplatform admin ui assets Cross-Site Scripting Vulnerability

MODERATE
CWE-79
Published
Advisory Summary

GHSA-4c2w-v5rq-5mx7 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ezsystems/ezplatform admin ui assets libraries in the Packagist ecosystem. The issue involves ez platform editor cross-site scripting (xss). Remediation is available by upgrading affected packages to version 4.2.1, 5.0.1, 5.1.1.

GHSA-4c2w-v5rq-5mx7 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-4c2w-v5rq-5mx7
Severity MODERATE
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/ezplatform admin ui assets
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-4c2w-v5rq-5mx7

To remediate this vulnerability, upgrade all affected Ezsystems/ezplatform admin ui assets 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/ezplatform-admin-ui-assets fixed: 4.2.1
Upgrade ezsystems/ezplatform-admin-ui-assets to 4.2.1
ezsystems/ezplatform-admin-ui-assets fixed: 5.0.1
Upgrade ezsystems/ezplatform-admin-ui-assets to 5.0.1
ezsystems/ezplatform-admin-ui-assets fixed: 5.1.1
Upgrade ezsystems/ezplatform-admin-ui-assets to 5.1.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/ezplatform-admin-ui-assets

How to Check if You Are Affected

To determine whether your application is affected by GHSA-4c2w-v5rq-5mx7, inspect your project dependencies for Ezsystems/ezplatform admin ui assets:

inspect dependencies for ezsystems/ezplatform-admin-ui-assets

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

This Security Advisory is about two issues of low to medium severity. We recommend that you install the update as soon as possible. There is an XSS vulnerability in CKEditor, which is used by AlloyEditor, which is used in eZ Platform Admin UI. Scripts can be injected through specially crafted "protected" comments. We are not sure it is exploitable in eZ Platform, but recommend installing it to be on the safe side. It is fixed in CKEditor v4.14, AlloyEditor v2.11.9. It is distributed via Composer, for: eZ Platform v1.13.x: ezsystems/PlatformUIAssetsBundle v4.2.3 (included from ezsystems/PlatformUIBundle v1.13.x) eZ Platform v2.5.13: ezsystems/ezplatform-admin-ui-assets v4.2.1 eZ Platform v3.0.*: ezsystems/ezplatform-admin-ui-assets v5.0.1 eZ Platform v3.1.2: ezsystems/ezplatform-admin-ui-assets v5.1.1 Drafts that are sent to trash become visible in the Review Queue, even for users that were not able to see them before this action. It's not possible to preview them, but their title and review history is displayed. This affects Enterprise Edition only, of which ezplatform-workflow is a part. This security update is distributed via Composer, for eZ Platform EE v2.5.13: ezsystems/ezplatform-workflow v1.1.9 eZ Platform EE v3.1.2: ezsystems/ezplatform-workflow v2.1.1

GHSA-4c2w-v5rq-5mx7 Affected Ezsystems/ezplatform admin ui assets Versions

3 component(s)
Fixed Versions:
4.2.15.0.15.1.1
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezplatform-admin-ui-assets
Packagist
≥ 4.2.0
< 4.2.1
4.2.1
ezsystems/ezplatform-admin-ui-assets
Packagist
≥ 5.0.0
< 5.0.1
5.0.1
ezsystems/ezplatform-admin-ui-assets
Packagist
≥ 5.1.0
< 5.1.1
5.1.1

References

Frequently Asked Questions

What is GHSA-4c2w-v5rq-5mx7?
GHSA-4c2w-v5rq-5mx7 is a security vulnerability in Ezsystems/ezplatform admin ui assets involving eZ Platform Editor Cross-site Scripting (XSS) under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Ezsystems/ezplatform admin ui assets versions are affected?
Affected versions include releases prior to 4.2.1, 5.0.1, 5.1.1 across affected packages: ezsystems/ezplatform-admin-ui-assets.
What version fixes GHSA-4c2w-v5rq-5mx7?
Upgrading to 4.2.1, 5.0.1, 5.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezplatform-admin-ui-assets affected?
Yes, ezsystems/ezplatform-admin-ui-assets is affected in releases prior to 4.2.1, 5.0.1, 5.1.1. Upgrade your dependency to 4.2.1, 5.0.1, 5.1.1 or later.
What CWE is associated with GHSA-4c2w-v5rq-5mx7?
GHSA-4c2w-v5rq-5mx7 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-4c2w-v5rq-5mx7?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezplatform-admin-ui-assets'. 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-4c2w-v5rq-5mx7",
  "modified" : "2024-05-15T21:10:29Z",
  "published" : "2024-05-15T21:10:29Z",
  "aliases" : [ ],
  "summary" : "eZ Platform Editor Cross-site Scripting (XSS)",
  "details" : "This Security Advisory is about two issues of low to medium severity. We recommend that you install the update as soon as possible.\n\n\nThere is an XSS vulnerability in CKEditor, which is used by AlloyEditor, which is used in eZ Platform Admin UI. Scripts can be injected through specially crafted \"protected\" comments. We are not sure it is exploitable in eZ Platform, but recommend installing it to be on the safe side. It is fixed in CKEditor v4.14, AlloyEditor v2.11.9. It is distributed via Composer, for:\n\neZ Platform v1.13.x: ezsystems/PlatformUIAssetsBundle v4.2.3 (included from ezsystems/PlatformUIBundle v1.13.x)\neZ Platform v2.5.13: ezsystems/ezplatform-admin-ui-assets v4.2.1\neZ Platform v3.0.*: ezsystems/ezplatform-admin-ui-assets v5.0.1\neZ Platform v3.1.2: ezsystems/ezplatform-admin-ui-assets v5.1.1\n\n\nDrafts that are sent to trash become visible in the Review Queue, even for users that were not able to see them before this action. It's not possible to preview them, but their title and review history is displayed. This affects Enterprise Edition only, of which ezplatform-workflow is a part. This security update is distributed via Composer, for\n\neZ Platform EE v2.5.13: ezsystems/ezplatform-workflow v1.1.9\neZ Platform EE v3.1.2: ezsystems/ezplatform-workflow v2.1.1",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-admin-ui-assets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-admin-ui-assets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-admin-ui-assets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.1.0"
      }, {
        "fixed" : "5.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://ezplatform.com/security-advisories/ezsa-2020-005-editor-xss-and-trashed-drafts-in-review-queue"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezplatform-admin-ui-assets/2020-08-07-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezplatform-admin-ui-assets"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T21:10:29Z",
    "nvd_published_at" : null
  }
}