CVE-2021-47913 PHP Melody 3.0 Persistent Cross-Site Scripting via Video Editor

Medium 5.1 Published Updated

Privileged users can inject persistent scripts via the video editor, enabling session hijacking and application manipulation in PHP Melody.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-47913?

CVE-2021-47913 is a medium-severity cross-site scripting vulnerability in PHPSUGAR PHP Melody, published on 1 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

PHP Melody 3.0 contains a persistent cross-site scripting vulnerability in the video editor that allows privileged users to inject malicious scripts. Attackers can exploit the WYSIWYG editor to execute persistent scripts, potentially leading to session hijacking and application manipulation.

Weakness: CWE-79

Which versions are affected by CVE-2021-47913?

It affects 1 product.

Products include Phpsugar Php Melody.

How do I fix CVE-2021-47913?

No fix has been published for CVE-2021-47913 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-47913 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47913 exists.

Sources

Also known as GHSA-qg67-f99g-xghr.

Is CVE-2021-47913 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free