Join our Newsletter — 33% off our NHI Course
Home› FAQ› Authentication, Authorisation & Trust› What happens when HSTS is not deployed on…
Authentication, Authorisation & Trust

What happens when HSTS is not deployed on a site that already uses HTTPS?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 25, 2026 Domain: Authentication, Authorisation & Trust

Without HSTS, an attacker can try to force a browser or app to fall back from HTTPS to HTTP before the secure session is established. That creates an opening for interception, cookie theft, and credential capture. HSTS removes that downgrade path by instructing clients to connect only over HTTPS, which strengthens protection against session hijacking.

Why HSTS matters even when HTTPS is already enabled

https protects traffic only after the browser has actually reached the secure endpoint. HSTS adds a policy layer that tells compliant clients to use HTTPS from the start, which closes the downgrade window that attackers can exploit on first contact, after certificate problems, or during redirect handling. In practice, that makes the transport path less fragile and the session more resistant to active interception.

Without HSTS, the site may still be encrypted most of the time, but the browser is left to discover and remember the secure path on its own. That means security depends more heavily on redirects, user behavior, and the client’s prior history with the site, which is weaker than an explicit HTTPS-only instruction.

One useful way to think about HSTS is that it changes the browser’s trust decision before any sensitive exchange begins. If the secure posture is only established after an initial lookup or redirect, there is still a point where an attacker can interfere with transport selection. HSTS removes that dependency by making HTTPS the default client behavior for a defined period.

What can fail when HSTS is missing

The main failure mode is downgrade exposure. An active attacker on the network can try to steer the browser toward HTTP, then intercept or alter traffic before the secure connection is established. That can expose session cookies, login credentials, and other sensitive requests if the application or client accepts the weaker path even briefly.

Another common failure condition is incomplete coverage. A site may serve its main pages over HTTPS while leaving subdomains, redirect chains, or legacy entry points reachable over HTTP. If those paths are not protected by an HSTS policy, they can become the weakest link even though the primary site appears secure.

HSTS also reduces reliance on mixed client behavior. Some users arrive by bookmarks, old links, or embedded references that do not preserve the secure scheme. When the server does not enforce HTTPS at the policy level, those entry paths can remain vulnerable to the kinds of interception that secure transport was meant to prevent.

How HSTS changes the security model

HSTS is not a replacement for TLS, certificate hygiene, or secure cookie settings. It works alongside them by hardening how clients initiate and repeat connections. Once the policy is cached, compliant browsers will refuse plain HTTP access for that site during the active policy window, which narrows the attack surface for session hijacking and credential theft.

The practical effect is stronger transport assurance with less dependence on redirects. A properly deployed policy helps ensure that users land on the encrypted version of the site immediately, rather than being converted to HTTPS only after a request has already traversed an insecure path. That is especially important for login pages, account portals, and any application where the first request can reveal value to an attacker.

HSTS is most effective when it is combined with secure cookies, certificate validity, and full HTTPS coverage across the domain footprint. If any of those pieces are weak, the overall protection is weaker than the HSTS header alone might suggest.

Risk and Threat Considerations

When HSTS is absent, the site is more exposed to active network interception and downgrade attacks, especially on first visit or after browser state has been cleared. The risk is not that HTTPS stops working, but that an attacker can exploit the gap before the browser commits to HTTPS-only behavior.

Failure mechanism: The client can be induced to try HTTP or follow an insecure redirect before a secure session is established, allowing theft or manipulation of cookies, credentials, or session data.

Impact: Attackers may capture authentication material, hijack sessions, or alter content in transit, which can lead to account compromise and broader trust loss for the application.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP ASVS, NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
OWASP ASVSV12 — Secure CommunicationHSTS is part of securing browser-to-site transport against downgrade exposure.
Recommendation — Require HSTS and HTTPS-only transport for authenticated and session-bearing pages.
NIST SP 800-53 Rev 5SC-8 — Transmission Confidentiality and IntegrityHSTS supports confidentiality and integrity by preventing insecure transport fallback.
IA-2 — Identification and Authentication (Organizational Users)The question concerns exposure of login and session flows when transport is downgraded.
Recommendation — Enforce HTTPS-only access paths to preserve transmission confidentiality and integrity. Protect authentication flows so credentials are never exposed on downgradeable paths.
ISO/IEC 27001:2022A.8.24 — Use of cryptographyHTTPS and HSTS are core transport protections for data in transit.
Recommendation — Apply transport protection controls so browser sessions always negotiate encrypted connections.
CIS Controls v8CIS-3 — Data ProtectionHSTS reduces exposure of sensitive data in transit by preventing HTTP fallback.
Recommendation — Enforce HTTPS-only access for systems that process credentials or session data.

Practitioner Guidance

What to verify: Confirm that HSTS is sent on the canonical HTTPS response, applies to the full intended hostname scope, and is not blocked by redirect chains or inconsistent subdomain behavior. A site that “has HTTPS” but lacks a durable HTTPS-only policy still leaves room for downgrade exposure.

What good looks like: The browser never needs to choose between HTTP and HTTPS for trusted entry points, and the secure scheme is enforced consistently enough that users cannot be quietly pulled onto a weaker path.

Common mistake: Treating a single redirect from HTTP to HTTPS as equivalent to HSTS. Redirects help, but they do not remove the initial downgrade opportunity in the same way a browser-enforced policy does.

Practitioner takeaway: If the site handles authentication or session-bearing traffic, HSTS should be treated as a baseline transport-hardening control, not an optional polish item, because the first request is often the most attackable one.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 25, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org