CVE-2021-47912 PHP Melody 3.0 Non-Persistent Cross-Site Scripting via Multiple Parameters
Attackers can inject malicious scripts via unvalidated parameters in PHP Melody to execute client-side attacks and hijack user sessions.
- 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-47912?
CVE-2021-47912 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 version 3.0 contains multiple non-persistent cross-site scripting vulnerabilities in categories, import, and user import files. Attackers can inject malicious scripts through unvalidated parameters to execute client-side attacks and potentially hijack user sessions.
Weakness: CWE-79
Which versions are affected by CVE-2021-47912?
It affects 1 product.
Products include Phpsugar Php Melody.
How do I fix CVE-2021-47912?
No fix has been published for CVE-2021-47912 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-47912 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47912 exists.
Other vulnerabilities in PHPSUGAR PHP Melody
Sources
Also known as GHSA-f7c7-p5x7-c759.