GitHub Advisoryadvisory · Packagist
GHSA-f98p-2hc5-fm7v AVideo cross-site scripting vulnerability in the view/about.php page
MEDIUM
Official page ↗
- Aliases
- CVE-2024-34899
- Ecosystem
- Packagist
- Packages
- wwbn/avideo
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-05-20
Affected packages
• Packagist wwbn/avideo: < 14.3 → fixed in 14.3
Description
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.
Related
Alias · CVE (1)
- CVE-2024-34899 WWBN AVideo 12.4 is vulnerable to Cross Site Scripting (XSS). vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
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