medium6.1
CVE-2024-34899
AVideo cross-site scripting vulnerability in the view/about.php page
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | wwbn/avideo | < 14.3 | 14.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Wwbn | Avideo | from 10.4 through 12.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://hackerdna.com/courses/cve/cve-2024-34899
- https://github.com/advisories/GHSA-f98p-2hc5-fm7v
- https://github.com/WWBN/AVideo/security/advisories/GHSA-f98p-2hc5-fm7v
- https://nvd.nist.gov/vuln/detail/CVE-2024-34899
- https://github.com/WWBN/AVideo/commit/345711562621d879e63a817d01a229bf0aae7a1d