GHSA-w9p3-26fx-5mp3: Ezsystems/platform ui assets bundle Cross-Site Scripting Vulnerability

MODERATE
CWE-79
Published
Advisory Summary

GHSA-w9p3-26fx-5mp3 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ezsystems/platform ui assets bundle libraries in the Packagist ecosystem. The issue involves ez platform admin ui is vulnerable to cross-site scripting (xss). Remediation is available by upgrading affected packages to version 4.2.3.

GHSA-w9p3-26fx-5mp3 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-w9p3-26fx-5mp3
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/platform ui assets bundle
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-w9p3-26fx-5mp3

To remediate this vulnerability, upgrade all affected Ezsystems/platform ui assets bundle 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/platform-ui-assets-bundle fixed: 4.2.3
Upgrade ezsystems/platform-ui-assets-bundle to 4.2.3
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/platform-ui-assets-bundle

How to Check if You Are Affected

To determine whether your application is affected by GHSA-w9p3-26fx-5mp3, inspect your project dependencies for Ezsystems/platform ui assets bundle:

inspect dependencies for ezsystems/platform-ui-assets-bundle

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

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-w9p3-26fx-5mp3 Affected Ezsystems/platform ui assets bundle Versions

1 component(s)
Fixed Versions:
4.2.3
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/platform-ui-assets-bundle
Packagist
≥ 4.2.0
< 4.2.3
4.2.3

References

Frequently Asked Questions

What is GHSA-w9p3-26fx-5mp3?
GHSA-w9p3-26fx-5mp3 is a security vulnerability in Ezsystems/platform ui assets bundle involving eZ Platform Admin UI is vulnerable to Cross-site Scripting (XSS) under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Ezsystems/platform ui assets bundle versions are affected?
Affected versions include releases prior to 4.2.3 across affected packages: ezsystems/platform-ui-assets-bundle.
What version fixes GHSA-w9p3-26fx-5mp3?
Upgrading to 4.2.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/platform-ui-assets-bundle affected?
Yes, ezsystems/platform-ui-assets-bundle is affected in releases prior to 4.2.3. Upgrade your dependency to 4.2.3 or later.
What CWE is associated with GHSA-w9p3-26fx-5mp3?
GHSA-w9p3-26fx-5mp3 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-w9p3-26fx-5mp3?
Run the dependency tree command: 'inspect dependencies for ezsystems/platform-ui-assets-bundle'. 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-w9p3-26fx-5mp3",
  "modified" : "2024-05-15T21:34:20Z",
  "published" : "2024-05-15T21:34:20Z",
  "aliases" : [ ],
  "summary" : "eZ Platform Admin UI is vulnerable to Cross-site Scripting (XSS)",
  "details" : "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:\n```\neZ Platform v1.13.x: ezsystems/PlatformUIAssetsBundle v4.2.3 (included from ezsystems/PlatformUIBundle v1.13.x)\n\neZ Platform v2.5.13: ezsystems/ezplatform-admin-ui-assets v4.2.1\n\neZ Platform v3.0.*: ezsystems/ezplatform-admin-ui-assets v5.0.1\n\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\n\neZ Platform EE v3.1.2: ezsystems/ezplatform-workflow v2.1.1\n```",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/platform-ui-assets-bundle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.3"
      } ]
    } ]
  } ],
  "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/platform-ui-assets-bundle/2020-08-07-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/PlatformUIAssetsBundle"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T21:34:20Z",
    "nvd_published_at" : null
  }
}