Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1xODQ3LTJxNTctd21yM84AA3Cy

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

Description

Some Twig filters in CodeExtension use "is_safe=html" but don't actually ensure their input is safe.

Resolution

Symfony now escapes the output of the affected filters.

The patch for this issue is available here for branch 4.4.

Credits

We would like to thank Pierre Rudloff for reporting the issue and to Nicolas Grekas for providing the fix.

Permalink: https://github.com/advisories/GHSA-q847-2q57-wmr3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xODQ3LTJxNTctd21yM84AA3Cy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 16 days ago
Updated: 16 days ago


CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-q847-2q57-wmr3, CVE-2023-46734
References:

Affected Packages

packagist:symfony/symfony
Versions: >= 6.0.0, < 6.3.8, >= 5.0.0, < 5.4.31, >= 2.0.0, < 4.4.51
Fixed in: 6.3.8, 5.4.31, 4.4.51
packagist:symfony/twig-bridge
Versions: >= 6.0.0, < 6.3.8, >= 5.0.0, < 5.4.31, >= 2.0.0, < 4.4.51
Fixed in: 6.3.8, 5.4.31, 4.4.51