[KongchangAI]
ConceptSame-Origin Policy / SOP

Same-Origin Policy

A core mechanism of the browser security model that stipulates only requests sharing the same protocol, domain, and port are treated as same-origin. It prevents malicious websites from accessing resources hosted under different origins.

Timeline (last 90 days)

Nov 25

The Public Suffix List (PSL) is a key data source used by browsers and many security components to determine registrable domain boundaries; the large addition of new TLDs requires the PSL to be updated promptly, otherwise Cookie scope, same-origin policy, and certificate domain matching may behave abnormally.

Unverified50%
Nov 25

The Cookie scope shared between subdomains and the main domain is independent of the same-origin policy; it is a transport-layer behavior that can be used for cross-subdomain session fixation or identity impersonation.

Unverified50%
Nov 25

The same-origin policy treats different subdomains as different origins, so scripts cannot directly read each other's DOM.

Unverified50%
Nov 24

When the parent page and the iframe are cross-origin, they cannot directly access each other's DOM and can only cooperate through the postMessage API or by listening for changes to each other's location.

Unverified50%
Nov 16

Many websites embed consent management platforms in cross-origin iframes; restricted by the same-origin policy, the extension's content script cannot directly access the DOM inside the iframe, making automatic clicking of the reject button difficult.

Unverified50%
Nov 16

The key difference between Universal XSS (UXSS) and ordinary XSS is that ordinary XSS relies on an injection point in the target site itself and can only affect that site's users, whereas UXSS exploits vulnerabilities in the browser or extension itself to bypass the same-origin policy and execute scripts on arbitrary pages the attacker does not control.

Unverified50%
Nov 14

In the browser security model, an origin consists of the triple of protocol, host and port, and any difference is treated as cross-origin.

Unverified50%
Nov 9

DNS rebinding attacks exploit the fact that the browser same-origin policy judges by protocol, domain and port rather than the actual IP address, bypassing the same-origin policy by rapidly switching where domain resolution points.

Unverified50%
Oct 18

The same-origin policy is the premise for CORS's existence: by default the browser forbids scripts from one origin to read responses from another origin, and CORS is a protocol-layer mechanism by which the server declares that it is willing to be accessed cross-origin.

Unverified50%
Oct 13

The browser same-origin policy states that each web page's origin consists of protocol, domain, and port, and browsers by default prohibit scripts from one origin from reading or manipulating data from another origin.

Unverified50%

1 more timeline events

All Facts (12)

Unverified

The Public Suffix List (PSL) is a key data source used by browsers and many security components to determine registrable domain boundaries; the large addition of new TLDs requires the PSL to be updated promptly, otherwise Cookie scope, same-origin policy, and certificate domain matching may behave abnormally.

50%
Unverified

The Cookie scope shared between subdomains and the main domain is independent of the same-origin policy; it is a transport-layer behavior that can be used for cross-subdomain session fixation or identity impersonation.

50%
Unverified

The same-origin policy treats different subdomains as different origins, so scripts cannot directly read each other's DOM.

50%
Unverified

When the parent page and the iframe are cross-origin, they cannot directly access each other's DOM and can only cooperate through the postMessage API or by listening for changes to each other's location.

50%
Unverified

Many websites embed consent management platforms in cross-origin iframes; restricted by the same-origin policy, the extension's content script cannot directly access the DOM inside the iframe, making automatic clicking of the reject button difficult.

50%
Unverified

The key difference between Universal XSS (UXSS) and ordinary XSS is that ordinary XSS relies on an injection point in the target site itself and can only affect that site's users, whereas UXSS exploits vulnerabilities in the browser or extension itself to bypass the same-origin policy and execute scripts on arbitrary pages the attacker does not control.

50%
Unverified

In the browser security model, an origin consists of the triple of protocol, host and port, and any difference is treated as cross-origin.

50%
Unverified

DNS rebinding attacks exploit the fact that the browser same-origin policy judges by protocol, domain and port rather than the actual IP address, bypassing the same-origin policy by rapidly switching where domain resolution points.

50%
Unverified

The same-origin policy is the premise for CORS's existence: by default the browser forbids scripts from one origin to read responses from another origin, and CORS is a protocol-layer mechanism by which the server declares that it is willing to be accessed cross-origin.

50%
Unverified

The browser same-origin policy states that each web page's origin consists of protocol, domain, and port, and browsers by default prohibit scripts from one origin from reading or manipulating data from another origin.

50%
Unverified

The technical community has proposed drawing on the same-origin policy concept from browser security models to establish domain-level access isolation for agents

50%
Unverified

localStorage 遵循同源策略,即同协议、同域名、同端口下的页面共享同一存储空间

50%

Source Articles