Lucene search

K
githubGitHub Advisory DatabaseGHSA-Q847-2Q57-WMR3
HistoryNov 12, 2023 - 3:52 p.m.

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

2023-11-1215:52:51
CWE-79
GitHub Advisory Database
github.com
17
symfony
twig
filters
potential
cross-site scripting
vulnerabilities
codeextension

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

AI Score

7

Confidence

Low

EPSS

0.001

Percentile

20.4%

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.

Affected configurations

Vulners
Node
symfonysymfonyRange6.0.06.3.8
OR
symfonysymfonyRange5.0.05.4.31
OR
symfonysymfonyRange2.0.04.4.51
OR
symfonytwigRange6.0.06.3.8
OR
symfonytwigRange5.0.05.4.31
OR
symfonytwigRange2.0.04.4.51
VendorProductVersionCPE
symfonysymfony*cpe:2.3:a:symfony:symfony:*:*:*:*:*:*:*:*
symfonytwig*cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

AI Score

7

Confidence

Low

EPSS

0.001

Percentile

20.4%