# CVE-2021-47915: PHP Melody 3.0 SQL Injection Vulnerability via Edit Video Parameter

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-01T12:15:49.150Z
- Modified: 2026-06-17T04:18:45.003Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

PHP Melody version 3.0 contains a remote SQL injection vulnerability in the video edit module that allows authenticated attackers to inject malicious SQL commands. Attackers can exploit the unvalidated 'vid' parameter to execute arbitrary database queries and potentially compromise the web application and database management system.

(As written by CVE List.)

## Affected

- PHPSUGAR PHP Melody: 3.0
- phpsugar php_melody: 3.0

## Every score

- VulnCheck: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.vulnerability-lab.com/get_content.php?id=2295> (exploit, third-party-advisory)
- <https://www.phpsugar.com/blog/2021/09/php-melody-3-0-vulnerability-report-fix/> (patch, vendor-advisory)
- <https://www.phpsugar.com/phpmelody.html> (product)
- <https://www.vulncheck.com/advisories/php-melody-sql-injection-vulnerability-via-edit-video-parameter> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-47915](https://www.cve.org/CVERecord?id=CVE-2021-47915), CVE Terms of Use, modified 2026-03-05
- NVD: [CVE-2021-47915](https://nvd.nist.gov/vuln/detail/CVE-2021-47915), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47915 · Whole record: https://cve.day/CVE-2021-47915.json · Rebuilt by cve.day 2026-11-25T22:58:09.091Z
