GitHub Advisoryadvisory · Packagist

GHSA-f98p-2hc5-fm7v AVideo cross-site scripting vulnerability in the view/about.php page

MEDIUM Published 2024-05-20 Modified 2024-05-20 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