GHSA-q73v-79x3-jv2w: Ezsystems/ezplatform admin ui Cross-Site Scripting Vulnerability

HIGH
CWE-79
Published
Advisory Summary

GHSA-q73v-79x3-jv2w is a HIGH cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ezsystems/ezplatform admin ui libraries in the Packagist ecosystem. The issue involves ez platform admin ui cross-site scripting vulnerability. Remediation is available by upgrading affected packages to version 1.3.5, 1.4.4.

GHSA-q73v-79x3-jv2w at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-q73v-79x3-jv2w
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/ezplatform admin ui
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-q73v-79x3-jv2w

To remediate this vulnerability, upgrade all affected Ezsystems/ezplatform admin ui 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 fixed: 1.3.5
Upgrade ezsystems/ezplatform-admin-ui to 1.3.5
ezsystems/ezplatform-admin-ui fixed: 1.4.4
Upgrade ezsystems/ezplatform-admin-ui to 1.4.4
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

How to Check if You Are Affected

To determine whether your application is affected by GHSA-q73v-79x3-jv2w, inspect your project dependencies for Ezsystems/ezplatform admin ui:

inspect dependencies for ezsystems/ezplatform-admin-ui

Analyze the terminal output to locate any version of Ezsystems/ezplatform admin ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.5), 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, 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 fixes a severe vulnerability in the eZ Platform Admin UI, and we recommend that you install it as soon as possible. Parts of the Admin UI are vulnerable to XSS injection. All 2.x sites are at risk, and particularly those that allow user generated content. The update adds the necessary escaping of injected code. This resolves the issue both for code that has already been injected, and any future such code. To install, use Composer to update "ezsystems/ezplatform-admin-ui" and "ezsystems/ezplatform-page-builder" to one of the "Resolving versions" mentioned above. (ezplatform-page-builder exists only in eZ Platform Enterprise Edition.)

GHSA-q73v-79x3-jv2w Affected Ezsystems/ezplatform admin ui Versions

2 component(s)
Fixed Versions:
1.3.51.4.4
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezplatform-admin-ui
Packagist
≥ 1.3.0
< 1.3.5
1.3.5
ezsystems/ezplatform-admin-ui
Packagist
≥ 1.4.0
< 1.4.4
1.4.4

References

Frequently Asked Questions

What is GHSA-q73v-79x3-jv2w?
GHSA-q73v-79x3-jv2w is a security vulnerability in Ezsystems/ezplatform admin ui involving eZ Platform Admin UI Cross-site Scripting vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Ezsystems/ezplatform admin ui versions are affected?
Affected versions include releases prior to 1.3.5, 1.4.4 across affected packages: ezsystems/ezplatform-admin-ui.
What version fixes GHSA-q73v-79x3-jv2w?
Upgrading to 1.3.5, 1.4.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezplatform-admin-ui affected?
Yes, ezsystems/ezplatform-admin-ui is affected in releases prior to 1.3.5, 1.4.4. Upgrade your dependency to 1.3.5, 1.4.4 or later.
What CWE is associated with GHSA-q73v-79x3-jv2w?
GHSA-q73v-79x3-jv2w 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-q73v-79x3-jv2w?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezplatform-admin-ui'. 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-q73v-79x3-jv2w",
  "modified" : "2024-05-15T21:13:43Z",
  "published" : "2024-05-15T21:13:43Z",
  "aliases" : [ ],
  "summary" : "eZ Platform Admin UI Cross-site Scripting vulnerability",
  "details" : "This security advisory fixes a severe vulnerability in the eZ Platform Admin UI, and we recommend that you install it as soon as possible. Parts of the Admin UI are vulnerable to XSS injection. All 2.x sites are at risk, and particularly those that allow user generated content. The update adds the necessary escaping of injected code. This resolves the issue both for code that has already been injected, and any future such code.\n\nTo install, use Composer to update \"ezsystems/ezplatform-admin-ui\" and \"ezsystems/ezplatform-page-builder\" to one of the \"Resolving versions\" mentioned above. (ezplatform-page-builder exists only in eZ Platform Enterprise Edition.)",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-admin-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0"
      }, {
        "fixed" : "1.3.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform-admin-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.4.0"
      }, {
        "fixed" : "1.4.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezplatform-admin-ui/CVE-2019-12139.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezplatform-admin-ui"
  }, {
    "type" : "WEB",
    "url" : "https://share.ez.no/community-project/security-advisories/ezsa-2019-001-xss-in-admin-ui"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201207160038/https://share.ez.no/community-project/security-advisories/ezsa-2019-001-xss-in-admin-ui"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T21:13:43Z",
    "nvd_published_at" : null
  }
}