Advisory

GHSA-q847-2q57-wmr3

Also known as: BIT-symfony-2023-46734, CVE-2023-46734

Summary

Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-11-12 15:52 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

symfony/twig-bridge

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 4.4.51 (ecosystem)

Fixed versions

4.4.51

Fix

The export has no generic command for this ecosystem.

symfony/twig-bridge

Packagist · All systems

Affected

  • introduced 5.0.0, fixed 5.4.31 (ecosystem)

Fixed versions

5.4.31

Fix

The export has no generic command for this ecosystem.

symfony/twig-bridge

Packagist · All systems

Affected

  • introduced 6.0.0, fixed 6.3.8 (ecosystem)

Fixed versions

6.3.8

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 4.4.51 (ecosystem)

Fixed versions

4.4.51

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 5.0.0, fixed 5.4.31 (ecosystem)

Fixed versions

5.4.31

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 6.0.0, fixed 6.3.8 (ecosystem)

Fixed versions

6.3.8

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences