---
id: CVE-2021-25877
title: AVideo/YouPHPTube 10.0 and prior is affected by Insecure file write
summary: >-
  AVideo/YouPHPTube 10.0 and prior is affected by Insecure file write. An
  administrator privileged user is able to write files on filesystem using flag
  and code variables in file save.php.
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: youphptube
product: youphptube
affected:
  - youphptube <= 10.0
published: '2021-11-01'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-25877'
references:
  - url: 'https://synacktiv.com'
    label: cve@mitre.org
  - url: >-
      https://www.synacktiv.com/sites/default/files/2021-01/YouPHPTube_Multiple_Vulnerabilities.pdf
    label: cve@mitre.org
  - url: 'http://avideoyouphptube.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://synacktiv.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://www.synacktiv.com/sites/default/files/2021-01/YouPHPTube_Multiple_Vulnerabilities.pdf
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.01594
epssPercentile: 0.74657
ingestedAt: '2026-07-06T17:03:23.606Z'
---

## Overview

AVideo/YouPHPTube 10.0 and prior is affected by Insecure file write. An administrator privileged user is able to write files on filesystem using flag and code variables in file save.php.

## Affected

- `youphptube <= 10.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
