CVE-2023-1069 Complianz - GDPR/CCPA Cookie Consent < 6.4.2 - Contributor+ Stored XSS

Medium 5.4 Published Updated

Contributors can inject malicious scripts via shortcode attributes in the Complianz plugin, leading to stored XSS attacks on site visitors.

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
Available

What is CVE-2023-1069?

CVE-2023-1069 is a medium-severity cross-site scripting vulnerability in Unknown Complianz, published on 27 Mar 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Complianz WordPress plugin before 6.4.2, Complianz Premium WordPress plugin before 6.4.2 do not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks

Which versions are affected by CVE-2023-1069?

2 open source packages ship an affected version, including really-simple-plugins/complianz-gdpr. It affects 1 product.

PackageAffectedFixed in
really-simple-plugins/complianz-gdpr PackagistAll versions6.4.2
really-simple-plugins/complianz-gdpr PackagistAll versions6.4.2

Products include Really-Simple-Plugins Complianz.

How do I fix CVE-2023-1069?

Upgrade really-simple-plugins/complianz-gdpr to 6.4.2 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-2023-1069 being exploited?

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

Sources

Also known as GHSA-7j4m-f87g-5r9r.

Is CVE-2023-1069 in your software?

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

Check your SBOMs for free