6.1
MEDIUM
CVE-2023-46734
Symfony Twig Filter/html Injection Vulnerability
Description

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.

INFO

Published Date :

Nov. 10, 2023, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 8:29 a.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2023-46734 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Sensiolabs symfony
2 Sensiolabs twig

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-46734 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-46734 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54
    Added Reference https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c
    Added Reference https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3
    Added Reference https://lists.debian.org/debian-lts-announce/2023/11/msg00019.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 24, 2023

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.debian.org/debian-lts-announce/2023/11/msg00019.html [No types assigned]
  • Initial Analysis by [email protected]

    Nov. 16, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54 No Types Assigned https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54 Patch
    Changed Reference Type https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c No Types Assigned https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c Patch
    Changed Reference Type https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3 No Types Assigned https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3 Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 4.4.51 *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.4.31 *cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* versions from (including) 6.0.0 up to (excluding) 6.3.8 *cpe:2.3:a:sensiolabs:twig:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 4.4.51 *cpe:2.3:a:sensiolabs:twig:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.4.31 *cpe:2.3:a:sensiolabs:twig:*:*:*:*:*:*:*:* versions from (including) 6.0.0 up to (excluding) 6.3.8
  • CVE Received by [email protected]

    Nov. 10, 2023

    Action Type Old Value New Value
    Added Description 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.
    Added Reference GitHub, Inc. https://github.com/symfony/symfony/security/advisories/GHSA-q847-2q57-wmr3 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/symfony/symfony/commit/5d095d5feb1322b16450284a04d6bb48d1198f54 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/symfony/symfony/commit/9da9a145ce57e4585031ad4bee37c497353eec7c [No types assigned]
    Added CWE GitHub, Inc. CWE-79
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-46734 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-46734 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} 0.01%

score

0.37778

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability