GHSA-f98p-2hc5-fm7v
AVideo cross-site scripting vulnerability in the view/about.php page
Quick fix
GHSA-f98p-2hc5-fm7v — wwbn/avideo: upgrade to the fixed version with the command below.
composer require wwbn/avideo:^14.3Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/WWBN/AVideo/security/advisories/GHSA-f98p-2hc5-fm7v[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-34899[ADVISORY]
- https://github.com/WWBN/AVideo/commit/345711562621d879e63a817d01a229bf0aae7a1d[WEB]
- https://github.com/WWBN/AVideo[PACKAGE]
- https://hackerdna.com/courses/cve/cve-2024-34899[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/wwbn/avideo"]}'