CVE-2025-71310 Cross-site scripting in GDPR cookies module for Backdrop CMS

Low 1.8 Published Updated

An attacker with specific permissions can inject malicious scripts via the YouTube service configuration in the Backdrop CMS GDPR cookies module.

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

What is CVE-2025-71310?

CVE-2025-71310 is a low-severity cross-site scripting vulnerability in BackdropCMS GDPR cookies module for Backdrop CMS, published on 26 May 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The GDPR cookies module for Backdrop CMS (before

1.x-1.3.5) doesn't sufficiently protect visitors from Cross Site Scripting (XSS) if a malicious value has been provided for the optional 'Info content' field for the YouTube service. This is mitigated by the fact that an attacker must have a role with the permission "Create a GDPR Cookies Service" or "Edit any GDPR Cookies Service" and a site must have added a YouTube service as configuration.

Weakness: CWE-80

Which versions are affected by CVE-2025-71310?

How do I fix CVE-2025-71310?

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

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

Sources

Also known as GHSA-2m22-x9h5-mq25.

Is CVE-2025-71310 in your software?

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

Check your SBOMs for free