CVE-2020-26768 Formstone Vulnerable to Reflected XSS

Medium 6.1 Published Updated

A reflected XSS vulnerability in Formstone allows attackers to execute scripts in victims' browsers, potentially stealing credentials or forcing malware execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-26768?

CVE-2020-26768 is a medium-severity cross-site scripting vulnerability in n/a, published on 7 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Formstone <=1.4.16 is vulnerable to a Reflected Cross-Site Scripting (XSS) vulnerability caused by improper validation of user supplied input in the upload-target.php and upload-chunked.php files. A remote attacker could exploit this vulnerability using a specially crafted URL to execute a script in a victim's Web browser within the security context of the hosting Web site once the URL is clicked or visited. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials, force malware execution, user redirection and others.

Weakness: CWE-79

Which versions are affected by CVE-2020-26768?

2 open source packages ship an affected version, including formstone. It affects 1 product.

PackageAffectedFixed in
formstone npmAll versions1.4.17
formstone npmAll versions1.4.17

Products include Formstone Formstone.

How do I fix CVE-2020-26768?

Upgrade formstone to 1.4.17 or later.

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-2020-26768 being exploited?

There is no known exploitation of CVE-2020-26768 in the wild and no public exploit code.

Sources

Also known as GHSA-wc29-h54q-q8qx.

Is CVE-2020-26768 in your software?

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

Check your SBOMs for free