Cyber Resilience

CVE-2021-47915

HighPublic PoC

Published: 01 February 2026

Published
01 February 2026
Modified
11 February 2026
KEV Added
Patch
CVSS Score v4 8.6 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0053 40.5th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2021-47915 is a high-severity SQL Injection (CWE-89) vulnerability in Phpsugar Php Melody. Its CVSS base score is 8.6 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 40.5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2021-47915 is a remote SQL injection vulnerability (CWE-89) affecting PHP Melody version 3.0, specifically in the video edit module. The flaw stems from the unvalidated 'vid' parameter, which allows attackers to inject malicious SQL commands into database queries. This high-severity issue carries a CVSS v3.1 base score of 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N), indicating significant impact on confidentiality and integrity without affecting availability.

Authenticated attackers with low privileges (PR:L) can exploit this vulnerability remotely over the network with low complexity and no user interaction required. By manipulating the 'vid' parameter, they can execute arbitrary SQL queries, potentially extracting sensitive data, modifying database contents, or fully compromising the web application and underlying database management system.

Advisories and reports, including those from PHP Sugar (phpsugar.com/blog/2021/09/php-melody-3-0-vulnerability-report-fix/ and phpmelody.html), Vulncheck (vulncheck.com/advisories/php-melody-sql-injection-vulnerability-via-edit-video-parameter), and Vulnerability Lab (vulnerability-lab.com/get_content.php?id=2295), provide details on the issue and associated fixes. Security practitioners should consult these resources for patch information and mitigation guidance, such as input validation or upgrades.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability details

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…

more

web application and database management system.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

Direct remote exploitation of a public-facing web application via unauthenticated SQL injection in a web module parameter.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-24956Shared CWE-89
CVE-2026-33615Shared CWE-89
CVE-2025-28939Shared CWE-89
CVE-2021-47872Shared CWE-89
CVE-2025-28873Shared CWE-89
CVE-2019-25636Shared CWE-89
CVE-2026-32611Shared CWE-89
CVE-2026-42755Shared CWE-89
CVE-2024-53544Shared CWE-89
CVE-2026-21410Shared CWE-89

Affected Assets

phpsugar
php melody
3.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation of the unvalidated 'vid' parameter to prevent injection of malicious SQL commands in the video edit module.

prevent

Ensures timely remediation of the specific SQL injection flaw in PHP Melody 3.0 through patching or code updates as advised in vulnerability reports.

prevent

Limits damage from successful SQL injection by enforcing least privilege on the database account used by the authenticated application user.

References