Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. ezsystems/ezplatform-richtext
  4. ›
  5. GHSA-rhm7-7469-rcpw

GHSA-rhm7-7469-rcpw: Persistent Cross-site Scripting in eZ Platform Rich Text Field Type

August 14, 2024

The validator for the RichText fieldtype blocklists javascript: and vbscript: in links to prevent XSS. This can leave other options open, and the check can be circumvented using upper case. Content editing permissions for RichText content is required to exploit this vulnerability, which typically means Editor role or higher. The fix implements an allowlist instead, which allows only approved link protocols. The new check is case insensitive.

References

  • developers.ibexa.co/security-advisories/ibexa-sa-2024-005-persistent-xss-in-richtext
  • github.com/advisories/GHSA-rhm7-7469-rcpw
  • github.com/ezsystems/ezplatform-richtext
  • github.com/ezsystems/ezplatform-richtext/commit/2c652915625c47b493a2be06924f4c87d1df7d8e
  • github.com/ezsystems/ezplatform-richtext/commit/6131975108fa9756e17043e7a06a4e72f786f842
  • github.com/ezsystems/ezplatform-richtext/commit/7bbc6d024c6146d1e1ba84d27a3ebffe9459613e
  • github.com/ezsystems/ezplatform-richtext/commit/8b75c603dfd1ad6f6f3db15ae2324876683cbaf9
  • github.com/ezsystems/ezplatform-richtext/commit/dbe816f3ff4c903cc508dfdcdca8791c8284d292
  • github.com/ezsystems/ezplatform-richtext/security/advisories/GHSA-rhm7-7469-rcpw
  • github.com/ibexa/fieldtype-richtext/security/advisories/GHSA-hvcf-6324-cjh7
  • nvd.nist.gov/vuln/detail/CVE-2024-43369

Code Behaviors & Features

Detect and mitigate GHSA-rhm7-7469-rcpw with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.3.0 before 3.3.40

Fixed versions

  • 3.3.40

Solution

Upgrade to version 3.3.40 or above.

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/ezsystems/ezplatform-richtext/GHSA-rhm7-7469-rcpw.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:23 +0000.