Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. wwbn/avideo
  4. ›
  5. CVE-2024-34899

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

May 20, 2024

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

  • github.com/WWBN/AVideo
  • github.com/WWBN/AVideo/commit/345711562621d879e63a817d01a229bf0aae7a1d
  • github.com/WWBN/AVideo/security/advisories/GHSA-f98p-2hc5-fm7v
  • github.com/advisories/GHSA-f98p-2hc5-fm7v
  • hackerdna.com/courses/cve/cve-2024-34899
  • nvd.nist.gov/vuln/detail/CVE-2024-34899

Code Behaviors & Features

Detect and mitigate CVE-2024-34899 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 14.3

Fixed versions

  • 14.3

Solution

Upgrade to version 14.3 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/wwbn/avideo/CVE-2024-34899.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.