Skip to content

Finding

Cross origin reads are open to every site

{path} answered with an allow origin of {origin}, so any site can read what it returns. Without credentials that is only a problem for data you did not mean to publish.

Last updated September 20, 2026

This week · Needs a developer

Why AI-built apps get this

Cross origin rules get widened during development, when a local page needs to talk to a deployed backend. The wildcard that unblocked the afternoon stays in the deployed version, because nothing about it fails afterwards.

What it affects

{path} answered with an allow origin of {origin}, so any site can read what it returns. Without credentials that is only a problem for data you did not mean to publish.

What the evidence line looks like

GET /api/ with an outside origin returned access-control-allow-origin: * with credentials allowed

Every finding on a result carries a line like this one: the request that was made and the answer that came back. You can run the same request yourself and get the same answer, which is the point.

The fix

Name the origins that are allowed to read the response instead of allowing all of them.

Prompt for your coding agent

Set the cross origin allow origin header to an explicit list of your own addresses instead of a wildcard.

A result gives you this prompt written for your builder, in its own dialect, and a batch prompt that carries every fix at once.

Incidents that involved this

  • Not verified

    First-quarter 2026 assessment of 200 apps

    183 of 200 vibe-coded apps, 91.5 percent, contained at least one vulnerability traceable to AI hallucination or missing security context.

  • Declared

    CVE growth in AI-generated code

    CVE entries attributed to AI-generated code rose from 6 in January 2026 to more than 35 in March 2026.

  • Observed

    5,600 vibe-coded apps scanned

    More than 2,000 vulnerabilities and more than 400 exposed secrets found across vibe-coded apps.

  • Not verified

    Tenzai study of AI-built apps

    69 vulnerabilities across 15 apps built by five AI coding tools.

Related terms

Run the free Launch Risk Check on your app

ShipReady is not a penetration test or a security certification. No automated check can prove an application is secure.

Last updated September 20, 2026