GHSA-f98p-2hc5-fm7v
AVideo cross-site scripting vulnerability in the view/about.php page
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | wwbn/avideo | < 14.3 | 14.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
The PHP file view/about.php is vulnerable to an XSS issue due to no sanitization of the user agent.
At line [53], the website gets the user-agent from the headers through $_SERVER['HTTP_USER_AGENT'] and echo it without any sanitization.
In PHP, echo a user generated statement, here the User-Agent Header, without any sanitization allows an attacker to inject malicious scripts into the output of a web page, which are then executed in the browser of anyone viewing that page.
References
External links from the advisory. They lead to third-party sites.