Inside C-SEC: Static URL Scopes for Declarative Themes

Architecture 1 min read By opendashcms_admin

Server-side template injection and XSS vulnerabilities happen when templating languages blend raw HTML strings with arbitrary dynamic attributes.

Static HTML & Attribute Verification

OpenDash walks template ASTs statically to verify that inline event handlers and dynamic style attributes are rejected at validation time via opendash check theme.

Typed URL Scope Whitelists

Only schema-verified links, media URLs, menus, and canonical entry routes may appear inside href, src, and form action attributes.

Architecture

More from the Engineering Blog

Search OpenDash

Use Arrow keys & Enter to navigate Full search page →