5.4

CVE-2026-47730: symfony twig Cross-site Scripting

CVSS: 5.4v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2026-47730DEBIAN-CVE-2026-47730
Published 14-07-2026Last modified 21-07-2026

Vulnerability summary

CVE-2026-47730 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in symfony twig. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.8% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 14-07-2026
    PublishedVulnerability first disclosed.
  2. 21-07-2026
    Last modifiedVulnerability information updated.

Description

Twig is a template language for PHP. From 3.0.0 until 3.26.0, Twig\Profiler\Dumper\HtmlDumper writes Profile::getTemplate() and Profile::getName() into HTML output without escaping, allowing attacker-controlled template or profile names to inject arbitrary HTML when a browser renders the profiler dump. This issue is fixed in version 3.26.0.

CVSS metrics

6 scores · 4 sources · 2 versions

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

0.00 pp

From 0.29% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.29%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • php-twig< 3.5.1-1+deb12u3 | < 3.27.0-0+deb13u1 | < 3.26.0-1
Symfony1 product
  • twig≥ 3.0.0, < 3.26.0
Twigphp1 product
  • twig≥ 3.0.0, < 3.26.0
Ubuntu1 product
  • php-twigAll versions (No fix recorded)

4 vendors · 4 products

References

7 links