LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 8.6Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

PHP Melody 3.0 has an authenticated SQL injection flaw in the video edit function. A logged-in attacker could manipulate database queries through the video ID parameter, risking data theft or application compromise. This is high priority for organizations running PHP Melody 3.0, especially where contributor or admin access is broadly available.

Executive priority

Prioritize remediation if PHP Melody 3.0 is internet-facing or used by multiple content users. The issue can affect database confidentiality and integrity, but requires authentication. If PHP Melody is not used, document non-exposure and close after verification.

Technical view

CVE-2021-47915 is a CWE-89 SQL injection in PHPSUGAR PHP Melody 3.0. The reported vulnerable input is the unvalidated `vid` parameter in the edit video module. CVSS 4.0 is 8.6 high: network exploitable, low complexity, low privileges, no user interaction, with high confidentiality and integrity impact.

Likely exposure

Exposure is limited to PHP Melody version 3.0 deployments. The attacker needs an authenticated account with access to the affected video edit workflow. Public-facing sites with multiple editors, weak account controls, or exposed administration areas have higher practical risk.

Exploitation context

The source bundle includes a Vulnerability Lab advisory tagged as exploit, but CISA KEV status is false and no provided source states active exploitation. Treat this as publicly documented and potentially reproducible, not confirmed as exploited in the wild.

Researcher notes

Evidence is limited to the CVE record, Vulnerability Lab, PHPSUGAR, and VulnCheck references in the bundle. The affected scope provided is PHP Melody 3.0 only, with default status otherwise unaffected. Do not assume other versions are vulnerable without vendor or advisory confirmation.

Mitigation direction

  • Check PHPSUGAR’s vulnerability report and fix guidance for PHP Melody 3.0.
  • Upgrade or apply the vendor-provided fix if running the affected version.
  • Restrict access to video editing and administrative functions.
  • Review user accounts and remove unnecessary editor or admin privileges.
  • Monitor application and database logs for suspicious edit-video activity.

Validation and detection

  • Inventory PHP Melody deployments and confirm version numbers.
  • Identify whether PHP Melody 3.0 is present in production or staging.
  • Confirm who can access the video edit module.
  • Check whether the vendor fix has been applied.
  • Review logs for unusual database errors or unexpected video-edit requests.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-47915 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.6 (4.0)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.6CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NPrimary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

8.6High
CVSS 4.0 vector shape for CVE-2021-47915Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
PHPSUGARPHP Melody3.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.