Cross-site scripting in Symfony - CVE-2019-10909

 

Cross-site scripting in Symfony - CVE-2019-10909

Published: April 17, 2019


Vulnerability identifier: #VU18296
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2019-10909
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within the form theme of the PHP templating engine. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

Symfony
Drupal
symfony (Debian package)
php-symfony
php-symfony3
php-symfony4
drupal8
Fedora

How to mitigate CVE-2019-10909

Install updates from vendor's website.

Symfony - addressed in versions 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7
symfony (Debian package) - update to 2.8.7+dfsg-1.3+deb9u2
Drupal - addressed in versions 8.5.15, 8.6.15
php-symfony - addressed in versions 2.8.51-1.fc28, 2.8.51-1.fc29, 2.8.51-1.fc30
php-symfony3 - addressed in versions 3.4.26-1.fc28, 3.4.26-1.fc29, 3.4.26-1.fc30
php-symfony4 - addressed in versions 4.1.12-1.fc29, 4.2.7-2.fc30
drupal8 - addressed in versions 8.6.15-1.fc28, 8.6.15-1.fc29, 8.6.15-1.fc30

External References

Related Security Bulletins