Bug 2249141 (CVE-2023-46734)

Summary: CVE-2023-46734 php-symfony: potential XSS vulnerabilities in CodeExtension filters
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: symfony 4.4.51, symfony 5.4.31, symfony 6.3.8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2249142, 2249143    
Bug Blocks:    

Description Robb Gatica 2023-11-10 21:26:53 UTC
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use `is_safe=html` but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.

https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3
https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54
https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c

Comment 1 Robb Gatica 2023-11-10 21:27:09 UTC
Created php-symfony tracking bugs for this issue:

Affects: epel-all [bug 2249142]
Affects: fedora-all [bug 2249143]