---
title: "Secure CMS: how Dalva prevents classic vulnerabilities"
description: "A secure CMS starts with architecture: content is data, plugins run in a sandbox and sign-in requires 2FA, so XSS and SQL injection have nowhere to start."
url: "https://dalva.io/blog/how-dalva-prevents-classic-cms-vulnerabilities"
language: "en"
type: post
published: 2026-11-24
updated: 2026-11-24
author: "Agencja: Agencja"
translations:
  - language: "pl"
    url: "https://dalva.io/pl/blog/jak-dalva-zapobiega-typowym-lukom-w-cms.md"
---

# How Dalva prevents classic CMS vulnerabilities

> A secure CMS starts with architecture: content is data, plugins run in a sandbox and sign-in requires 2FA, so XSS and SQL injection have nowhere to start.

A secure CMS starts with its architecture, not with more patches. Dalva removes whole classes of vulnerabilities at that level instead of patching them after the fact.

## What makes a secure CMS "secure by design"?

It means a dangerous operation is **impossible to perform**, not merely forbidden in the docs. Example: because content is stored as data blocks rather than HTML, there is nowhere to hide a malicious script.

## Key mechanisms

- **Parameterized queries**: values are never concatenated into SQL.
- **Content Security Policy**: no inline scripts; the browser only runs scripts from your own domain.
- **SSRF protection**: importing images from the web blocks internal addresses and DNS rebinding.
- **Append-only audit log**: even a compromised application cannot erase its tracks.

> **Updates are part of security:** Dependencies are updated automatically, and known vulnerabilities block deployment.

Read more about each layer of protection on the [Security](https://dalva.io/security) page.

### Can a plugin read the database?

No. A plugin runs in a WebAssembly sandbox without access to the database, files or network. It can only return data or ask the server to perform declared operations.

### What happens if login credentials leak?

Without the second factor (an authenticator app or a hardware key) nobody can sign in, and passwords are checked against known breaches.

### Can AI publish something without me knowing?

Not in approval mode: an AI publish creates a request that a human must accept.
