GHSA-fxwm-rx68-p5vx: Ezsystems/ezplatform richtext Cross-Site Scripting Vulnerability
MODERATEGHSA-fxwm-rx68-p5vx is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ezsystems/ezplatform richtext libraries in the Packagist ecosystem. The issue involves xss in richtext custom tag attributes in ezsystems/ezplatform-richtext. Remediation is available by upgrading affected packages to version 2.3.7.1.
GHSA-fxwm-rx68-p5vx at a Glance
How to Fix GHSA-fxwm-rx68-p5vx
To remediate this vulnerability, upgrade all affected Ezsystems/ezplatform richtext 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/ezplatform-richtext to 2.3.7.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ezsystems/ezplatform-richtext
How to Check if You Are Affected
To determine whether your application is affected by GHSA-fxwm-rx68-p5vx, inspect your project dependencies for Ezsystems/ezplatform richtext:
inspect dependencies for ezsystems/ezplatform-richtext
Analyze the terminal output to locate any version of Ezsystems/ezplatform richtext in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.7.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 richtext, 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-fxwm-rx68-p5vx Affected Ezsystems/ezplatform richtext Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ezsystems/ezplatform-richtext
|
Packagist |
≥ 2.3.0
< 2.3.7.1
|
2.3.7.1
|
References
Frequently Asked Questions
What is GHSA-fxwm-rx68-p5vx?
Which Ezsystems/ezplatform richtext versions are affected?
What version fixes GHSA-fxwm-rx68-p5vx?
Is ezsystems/ezplatform-richtext affected?
What CWE is associated with GHSA-fxwm-rx68-p5vx?
How can I check Packagist dependencies for GHSA-fxwm-rx68-p5vx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fxwm-rx68-p5vx",
"modified" : "2021-11-29T20:55:04Z",
"published" : "2021-12-01T18:28:29Z",
"aliases" : [ ],
"summary" : "XSS in richtext custom tag attributes in ezsystems/ezplatform-richtext",
"details" : "The rich text editor does not escape attribute data when previewing custom tags. This means XSS is possible if custom tags are used, for users who have access to editing rich text content. Frontend content view is not affected, but the vulnerability could be used by editors to attack other editors. The fix ensures custom tag attribute data is escaped in the editor.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezplatform-richtext"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.7.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ezsystems/ezplatform-richtext/security/advisories/GHSA-fxwm-rx68-p5vx"
}, {
"type" : "WEB",
"url" : "https://github.com/ezsystems/ezplatform-richtext/commit/3cebfe2ae4c22e6590632a0ff71893854a16afc5"
}, {
"type" : "WEB",
"url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2021-010-xss-in-richtext-custom-tag-attributes"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ezsystems/ezplatform-richtext"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-11-29T20:53:09Z",
"nvd_published_at" : null
}
}