CVE-2021-47919 Simple CMS 2.1 Non-Persistent Cross-Site Scripting via Preview Parameter

Medium 5.1 Published Updated

Attackers can inject malicious scripts via the preview parameter to hijack user sessions or perform phishing attacks in Simple CMS.

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-47919?

CVE-2021-47919 is a medium-severity cross-site scripting vulnerability in Simplephpscripts Simple CMS, 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

Simple CMS 2.1 contains a non-persistent cross-site scripting vulnerability in the preview.php file's id parameter. Attackers can inject malicious script code through a GET request to execute arbitrary scripts and potentially hijack user sessions or perform phishing attacks.

Weakness: CWE-79

Which versions are affected by CVE-2021-47919?

It affects 1 product.

Products include Simplephpscripts Simple Cms Php.

How do I fix CVE-2021-47919?

No fix has been published for CVE-2021-47919 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-47919 being exploited?

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

Sources

Also known as GHSA-p3gm-qv6r-wh7x.

Is CVE-2021-47919 in your software?

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

Check your SBOMs for free