VDB
Sign up
MEDIUM6.1

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.3

Details

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

Packagist/wwbn/avideo
Introduced in: 0Fixed in: 14.3
Fixcomposer require wwbn/avideo:^14.3

References

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"]}'