/

CVE-2026-54347

Severity:

HIGH RISK

(8.7)

Stored XSS (CWE-79) in Froxlor DNS Admin Interface

CVE-2026-54347

Deferred

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Browser-Based Code Execution and Privilege Abuse

Severity:

HIGH RISK

(8.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Froxlor versions before 2.3.8 allow authenticated customers with DNS editor access to store unescaped HTML or JavaScript-bearing content in DNS TXT records. When an administrator views the affected domain's DNS configuration, the content may execute in the administrator's browser session, potentially exposing session data or triggering privileged panel actions.

Affected context

The vulnerability occurs in Froxlor's DNS management interface when TXT record content is accepted without sufficient output encoding, passed through a callback, and rendered using a raw template filter. Risk is present when a customer can edit DNS records and an administrator later views the affected domain's DNS configuration in a browser session.

Exploit preconditions

  • Attack surface: Froxlor's authenticated DNS management and administration interfaces
  • Required access: An authenticated customer account with DNS editor permissions
  • Trigger point: An administrator viewing the affected domain's DNS configuration
  • Why exploitation is possible: Stored TXT record content reaches an HTML-rendering context without appropriate output escaping

Why this happens

The underlying bug is a stored cross-site scripting condition mapped to CWE-79: Improper Neutralization of Input During Web Page Generation. DNS TXT record content is treated as trusted display content, returned from a formatting callback without HTML encoding, and rendered with a raw template filter. This insecure pattern allows attacker-controlled data to become executable browser content when viewed by another user.

Potential impact

  • An attacker may execute script in an administrator's browser session
  • Session-related information could be exposed
  • Privileged panel actions could be performed in the administrator's context
  • Administrative data may be altered or disclosed
  • The Froxlor management interface could be used for further account or configuration abuse

General mitigation guidance

Mitigation generally focuses on treating all DNS record content as untrusted data at every display boundary.

Common defensive patterns include:

  • Applying context-appropriate HTML output encoding before rendering record values
  • Avoiding raw template rendering for user-controlled or customer-controlled content
  • Using secure-by-default template behavior that escapes variables automatically
  • Validating and constraining DNS record input according to the applicable record syntax
  • Separating formatting logic from HTML generation and preserving trust-boundary metadata
  • Restricting administrative privileges and session capabilities to reduce the consequences of browser-based abuse
  • Applying an effective content security policy as an additional defense-in-depth control

How teams detect issues like this

Organizations can identify similar issues through:

  • Static analysis rules for raw template filters and unescaped callback output
  • Code review checks tracing customer-controlled fields from storage to HTML rendering
  • Tests that place harmless HTML markers in DNS fields and verify they are encoded in administrative views
  • Policy enforcement that prohibits raw rendering of untrusted values unless a narrowly defined trust justification exists
  • Browser security testing that examines stored content across roles, especially customer-to-administrator workflows
  • Neutral automated code review tools that flag missing contextual output encoding

Sources

SourceLink
github.comgithub.com/froxlor/froxlor/commit/a1d8f425b11ef7597949018814afa056a842cba0
github.comgithub.com/froxlor/froxlor/releases/tag/2.3.8
github.comgithub.com/froxlor/froxlor/security/advisories/GHSA-43gm-9rr3-cx7g

Frequently asked

questions

An authenticated customer generally needs DNS editor access for a domain whose configuration an administrator will later view.

No. Customer-level DNS editing access may be sufficient, although the impact depends on an administrator viewing the affected configuration.

Treat DNS record values as untrusted and apply context-appropriate HTML encoding at the final output boundary. Avoid raw template rendering for customer-controlled data.

Use escaping-by-default templates, validate structured DNS input, review data flows across privilege boundaries, and test stored-content rendering in both customer and administrator workflows.

Find out what's already
exploitable in your codebase.