NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-34899: AVideo cross-site scripting vulnerability in the view/about.php page

mediumCVSS 3.1 6.1GHSA-f98p-2hc5-fm7v

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['HTTPUSERAGENT'] and echo it without any sanitization.

Published May 20, 2024

Affected packages

wwbn/avideo

Ecosystem
Composer (PHP)
Affected
< 14.3
Fixed in
14.3
Check
composer show wwbn/avideo

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries