CVE-2021-28381 SQL injection in vhs (aka VHS: Fluid ViewHelpers)

Critical 9.8 Published Updated

An attacker can execute arbitrary SQL commands via the isLanguageViewHelper in the TYPO3 Fluid ViewHelpers extension, potentially accessing or modifying database content.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-28381?

CVE-2021-28381 is a critical SQL injection vulnerability in n/a, published on 16 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The vhs (aka VHS: Fluid ViewHelpers) extension before 5.1.1 for TYPO3 allows SQL injection via isLanguageViewHelper.

Weakness: CWE-89

Which versions are affected by CVE-2021-28381?

2 open source packages ship an affected version, including fluidtypo3/vhs. It affects 1 product.

PackageAffectedFixed in
fluidtypo3/vhs PackagistAll versions5.1.1
fluidtypo3/vhs PackagistAll versions5.1.1

Products include Vhs Project Vhs.

How do I fix CVE-2021-28381?

Upgrade fluidtypo3/vhs to 5.1.1 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2021-28381 being exploited?

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

Sources

Also known as GHSA-wq4r-8342-jmc9.

Is CVE-2021-28381 in your software?

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

Check your SBOMs for free