CVE-2024-43369: Ibexa/fieldtype richtext Cross-Site Scripting Vulnerability
HIGHCVE-2024-43369 is a HIGH (CVSS 7.2) 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 persistent cross-site scripting in ibexa richtext field type. Remediation is available by upgrading affected packages to version 4.6.10.
CVE-2024-43369 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N).
How to Fix CVE-2024-43369
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.
Upgrade ibexa/fieldtype-richtext to 4.6.10
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 CVE-2024-43369, 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.10), 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
CVE-2024-43369 Affected Ibexa/fieldtype richtext Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ibexa/fieldtype-richtext
|
Packagist |
≥ 4.6.0
< 4.6.10
|
4.6.10
|
References
Frequently Asked Questions
What is CVE-2024-43369?
Which Ibexa/fieldtype richtext versions are affected?
What version fixes CVE-2024-43369?
Is ibexa/fieldtype-richtext affected?
What is the CVSS score of CVE-2024-43369?
What CWE is associated with CVE-2024-43369?
How can I check Packagist dependencies for CVE-2024-43369?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hvcf-6324-cjh7",
"modified" : "2024-08-16T18:15:38Z",
"published" : "2024-08-14T18:08:19Z",
"aliases" : [ "CVE-2024-43369" ],
"summary" : "Persistent Cross-site Scripting in Ibexa RichText Field Type",
"details" : "### Impact\nThe 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.\n\n### Patches\n- See \"Patched versions\".\n- https://github.com/ibexa/fieldtype-richtext/commit/59e9c1a9da60597f60cf7338bf289dccaa7e27ca (and follow-up https://github.com/ibexa/fieldtype-richtext/commit/0a3b830e8806d5169f697351fdc48ffd95a25c67)\n\n### Workarounds\nNone.\n\n### References\n- Same issue in v3.3: https://github.com/ezsystems/ezplatform-richtext/security/advisories/GHSA-rhm7-7469-rcpw\n- Ibexa advisory: https://developers.ibexa.co/security-advisories/ibexa-sa-2024-005-persistent-xss-in-richtext\n\n### Credit\nThis vulnerability was discovered and reported to Ibexa by Alec Romano: https://github.com/4rdr\nWe thank them for reporting it responsibly to us.\n\nHow to report security issues:\nhttps://doc.ibexa.co/en/latest/infrastructure_and_maintenance/security/reporting_issues/",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ibexa/fieldtype-richtext"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.6.0"
}, {
"fixed" : "4.6.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ezsystems/ezplatform-richtext/security/advisories/GHSA-rhm7-7469-rcpw"
}, {
"type" : "WEB",
"url" : "https://github.com/ibexa/fieldtype-richtext/security/advisories/GHSA-hvcf-6324-cjh7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-43369"
}, {
"type" : "WEB",
"url" : "https://github.com/ibexa/fieldtype-richtext/commit/0a3b830e8806d5169f697351fdc48ffd95a25c67"
}, {
"type" : "WEB",
"url" : "https://github.com/ibexa/fieldtype-richtext/commit/59e9c1a9da60597f60cf7338bf289dccaa7e27ca"
}, {
"type" : "WEB",
"url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2024-005-persistent-xss-in-richtext"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ibexa/fieldtype-richtext"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-14T18:08:19Z",
"nvd_published_at" : "2024-08-16T02:15:16Z"
}
}