Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungFliproom: a room changeover is a content problem(21.09.2026 um 04:10 Uhr)
Sichere ProgrammierungNova Adiutrix: My Second Agent Built My First Project's To-Do List(21.09.2026 um 04:11 Uhr)
IT Security ToolsAntiphishing v35456910988(21.09.2026 um 02:35 Uhr)
IT Security Toolsbrave-browser v1.98.12(21.09.2026 um 03:35 Uhr)
Sichere ProgrammierungFliproom: a room changeover is a content problem(21.09.2026 um 04:10 Uhr)
Sichere ProgrammierungNova Adiutrix: My Second Agent Built My First Project's To-Do List(21.09.2026 um 04:11 Uhr)
IT Security ToolsAntiphishing v35456910988(21.09.2026 um 02:35 Uhr)
IT Security Toolsbrave-browser v1.98.12(21.09.2026 um 03:35 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Security in WebForms Core

Reagiere als Erste:r — dein Feedback zählt!

What is WebForms Core?

Elanat's WebForms Core technology is a modern web development framework based on a completely stateless server architecture, where all application state is stored on the user's browser, so the server does not retain any information from previous sessions. This approach makes the server lightweight, scalable, and fast, and can easily respond to a large number of requests. WebForms Core includes a server class, WebForms, and a lightweight client-side library, WebFormsJS, that communicate bidirectionally, allowing developers to dynamically and interactively update HTML elements without writing complex front-end code. The framework uses lightweight data (such as INI instead of JSON) to improve performance and provides features such as dynamic updates without full page reloads, lazy loading, support for multiple programming languages, and WebSocket communications for real-time interactions. WebForms Core's main focus is on simplifying web development with full server-side UI control, reducing the need for front-end development, preserving the server-side development experience, and improving performance and scalability, while minimizing bandwidth consumption and making it easy to create responsive and interactive user interfaces.

HTML‑Aware Parsing, Standard Web Encoding, and Client‑Side Controls

WebForms Core is a server‑driven web framework where client‑side actions are executed based on structured server instructions.
These instructions can be delivered with HTML or without HTML, depending on the request type.

Understanding this distinction is essential for correctly reasoning about security.

Two Delivery Modes for WebForms Instructions

1. Responses Without HTML (Pure Instruction Payload)

When the server response does not contain HTML (for example: secondary requests, SSE, or AJAX‑style responses), WebForms instructions are sent directly:

[web-forms]
_=steal()

Key Characteristics

  • No HTML parsing is involved
  • No DOM is created
  • Instructions are consumed only by WebFormsJS
  • Browser HTML security rules do not apply here because HTML does not exist

In this mode, security relies entirely on:

  • Trusted server responses
  • WebFormsJS Security Options (described later)

2. Responses With HTML (Initial Page Load)

When HTML is present, WebForms instructions must be embedded inside the HTML document.
WebForms Core supports two equivalent containers, both interpreted by WebFormsJS.

WebForms Instructions Embedded in HTML

A) HTML Comment Container (Recommended – WebForms Core 2)

<!--[web-forms]
_=steal()-->
  • Used only when HTML exists
  • Keeps the document fully valid and standard
  • Does not add nodes to the DOM
  • Parsed by WebFormsJS by scanning comment nodes
  • [web-forms] must appear at the start after trimming

B) <web-forms> Tag Container (Legacy / Backward Compatibility)

<web-forms ac="_=steal()"></web-forms>
  • Used only when HTML exists
  • Parsed by WebFormsJS via DOM traversal
  • Still supported for compatibility
  • Less clean because it introduces a custom DOM element

Critical Security Principle: HTML Encoding

WebForms Core does not sanitize user input.
It follows the exact same security rule as standard web development:

If user input is HTML‑encoded, it cannot be executed.

Encoded Example (Safe)

<!--[web-forms]
_=steal()-->

<web-forms ac="_=steal()"></web-forms>

Result

  • No real HTML comment is created
  • No <web-forms> element exists
  • WebFormsJS sees nothing
  • Nothing is executed

This behavior is identical to:

<script>alert('xss')</script>

Why Encoding Works Reliably

WebFormsJS only parses:

  1. Real comment nodes starting with [web-forms]
  2. Real <web-forms> elements

Encoded content produces:

  • Plain text
  • No DOM nodes
  • No executable instructions

Client‑Side Security Options in WebFormsJS

For non‑HTML responses and runtime execution control, WebFormsJS provides a configurable security policy.

Recommended Production Configuration

WebFormsOptions.DisableEval = true;
WebFormsOptions.DisableAppendJavaScriptTag = true;

WebFormsOptions.UseLoadModulePathOnlyInAcceptedList = true;
WebFormsOptions.LoadModulePathOnlyInAcceptedList = ["ui-core", "math"];

WebFormsOptions.UseCallMethodOnlyInAcceptedList = true;
WebFormsOptions.CallMethodOnlyInAcceptedList = ["showToast", "notifySuccess"];

WebFormsOptions.UseCallModuleMethodOnlyInAcceptedList = true;
WebFormsOptions.CallModuleMethodOnlyInAcceptedList = ["openDialog", "validateForm"];

WebFormsOptions.SendChecksum = true;

What This Achieves

  • Blocks eval() execution
  • Prevents dynamic <script> injection
  • Restricts module loading to trusted paths
  • Restricts callable functions to whitelisted ones
  • Verifies response integrity

This functions as a programmable runtime CSP.

Security Responsibilities (Clear Separation)

Layer Responsibility
Application HTML‑encode user input
Browser Enforce HTML parsing rules
WebForms Core Transport structured instructions
WebFormsJS Enforce runtime execution policy

No layer overlaps responsibility.

Final Summary

  • WebForms instructions exist in two modes:

    • Pure instruction payloads (no HTML)
    • HTML‑embedded containers (comment or tag)
  • The comment and <web-forms> containers exist only when HTML exists

  • HTML encoding alone is sufficient to neutralize injection attempts

  • WebFormsJS adds a second security layer through configurable execution controls

  • Security behavior is identical to standard web applications

Final Rule

If your HTML is safe, your WebForms Core usage is safe.

This is by design — not by coincidence.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Security in WebForms Core

Thematisch verwandte Begriffe: Security, WebForms, Core · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-93974 | A flaw has been found in SourceCodester Online Reviewer Management Syste…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick