GHSA-9qv6-4pwm-m68f: Ibexa/fieldtype richtext Cross-Site Scripting Vulnerability

MODERATE
CWE-79
Published
Advisory Summary

GHSA-9qv6-4pwm-m68f is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Ibexa/fieldtype richtext libraries in the Packagist ecosystem. The issue involves ibexa richtext field type xss vulnerabilities in back office. Remediation is available by upgrading affected packages to version 4.6.21.

GHSA-9qv6-4pwm-m68f at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-9qv6-4pwm-m68f
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 Ibexa/fieldtype richtext
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-9qv6-4pwm-m68f

To remediate this vulnerability, upgrade all affected Ibexa/fieldtype 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.

ibexa/fieldtype-richtext fixed: 4.6.21
Upgrade ibexa/fieldtype-richtext to 4.6.21
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 ibexa/fieldtype-richtext

How to Check if You Are Affected

To determine whether your application is affected by GHSA-9qv6-4pwm-m68f, inspect your project dependencies for Ibexa/fieldtype richtext:

inspect dependencies for ibexa/fieldtype-richtext

Analyze the terminal output to locate any version of Ibexa/fieldtype richtext in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6.21), 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 Ibexa/fieldtype 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

### Impact This security advisory is a part of IBEXA-SA-2025-003, which resolves XSS vulnerabilities in several parts of the back office of Ibexa DXP. Back office access and varying levels of editing and management permissions are required to exploit these vulnerabilities. This typically means Editor or Administrator role, or similar. Injected XSS is persistent and can be reflected in the front office, possibly affecting end users. The fixes ensure XSS is escaped, and any existing injected XSS is rendered harmless. ### Patches - See "Patched versions". - https://github.com/ibexa/fieldtype-richtext/commit/4a4a170c7faa4807ae0f74c581481b835bab3caf ### Workarounds None.

GHSA-9qv6-4pwm-m68f Affected Ibexa/fieldtype richtext Versions

1 component(s)
Fixed Versions:
4.6.21
Product / Package Ecosystem Affected Versions Fixed Version
ibexa/fieldtype-richtext
Packagist
≥ 4.6.0-beta1
< 4.6.21
4.6.21

References

Frequently Asked Questions

What is GHSA-9qv6-4pwm-m68f?
GHSA-9qv6-4pwm-m68f is a security vulnerability in Ibexa/fieldtype richtext involving Ibexa RichText Field Type XSS vulnerabilities in back office under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Ibexa/fieldtype richtext versions are affected?
Affected versions include releases prior to 4.6.21 across affected packages: ibexa/fieldtype-richtext.
What version fixes GHSA-9qv6-4pwm-m68f?
Upgrading to 4.6.21 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ibexa/fieldtype-richtext affected?
Yes, ibexa/fieldtype-richtext is affected in releases prior to 4.6.21. Upgrade your dependency to 4.6.21 or later.
What CWE is associated with GHSA-9qv6-4pwm-m68f?
GHSA-9qv6-4pwm-m68f 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-9qv6-4pwm-m68f?
Run the dependency tree command: 'inspect dependencies for ibexa/fieldtype-richtext'. 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-9qv6-4pwm-m68f",
  "modified" : "2025-06-13T14:51:12Z",
  "published" : "2025-06-13T14:51:11Z",
  "aliases" : [ ],
  "summary" : "Ibexa RichText Field Type XSS vulnerabilities in back office",
  "details" : "### Impact\nThis security advisory is a part of IBEXA-SA-2025-003, which resolves XSS vulnerabilities in several parts of the back office of Ibexa DXP. Back office access and varying levels of editing and management permissions are required to exploit these vulnerabilities. This typically means Editor or Administrator role, or similar. Injected XSS is persistent and can be reflected in the front office, possibly affecting end users. The fixes ensure XSS is escaped, and any existing injected XSS is rendered harmless.\n\n### Patches\n- See \"Patched versions\".\n- https://github.com/ibexa/fieldtype-richtext/commit/4a4a170c7faa4807ae0f74c581481b835bab3caf\n\n### Workarounds\nNone.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ibexa/fieldtype-richtext"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.6.0-beta1"
      }, {
        "fixed" : "4.6.21"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ibexa/fieldtype-richtext/security/advisories/GHSA-9qv6-4pwm-m68f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ibexa/fieldtype-richtext/commit/4a4a170c7faa4807ae0f74c581481b835bab3caf"
  }, {
    "type" : "WEB",
    "url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2025-003-xss-vulnerabilities-in-back-office"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ibexa/fieldtype-richtext"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-13T14:51:11Z",
    "nvd_published_at" : null
  }
}