CVE-2026-40212 Cross-site scripting in Skyline

Medium 5.4 Published Updated

An attacker can execute arbitrary scripts in the console web interface via DOM-based XSS, potentially compromising administrator sessions.

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-2026-40212?

CVE-2026-40212 is a medium-severity cross-site scripting vulnerability in OpenStack Skyline, published on 10 Apr 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

OpenStack Skyline before 5.0.1, 6.0.0, and 7.0.0 has a DOM-based Cross-Site Scripting (XSS) vulnerability in the console because document.write is used unsafely, which is relevant in scenarios where administrators use the console web interface to view instance console logs.

Weakness: CWE-79

Which versions are affected by CVE-2026-40212?

How do I fix CVE-2026-40212?

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

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

Sources

Also known as GHSA-h7hj-cr59-59c2.

Is CVE-2026-40212 in your software?

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

Check your SBOMs for free