> ## Documentation Index
> Fetch the complete documentation index at: https://rootea.es/llms.txt
> Use this file to discover all available pages before exploring further.

# CORS vulnerability with trusted insecure protocols

> PortSwigger Web Security Academy lab: CORS vulnerability with trusted insecure protocols. Topic: CORS.

# CORS vulnerability with trusted insecure protocols

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> PortSwigger · CORS</p>

<div className="machine-meta">
  | ·            | ·                                                                           |
  | ------------ | --------------------------------------------------------------------------- |
  | Platform     | PortSwigger Web Security Academy                                            |
  | Topic        | CORS                                                                        |
  | Difficulty   | <span className="dbadge dbadge-medium">PRACTITIONER</span>                  |
  | Official lab | [Open](https://portswigger.net/web-security/cors/lab-breaking-https-attack) |
</div>

## Solve the lab

| Language | Author          | Format | Link                                                                        |
| -------- | --------------- | ------ | --------------------------------------------------------------------------- |
| 🇬🇧 EN  | **PortSwigger** | Texto  | [Open](https://portswigger.net/web-security/cors/lab-breaking-https-attack) |

## Resources by skill

| Skill                                | Source      | Link                                              |
| ------------------------------------ | ----------- | ------------------------------------------------- |
| CORS (Cross-Origin Resource Sharing) | PortSwigger | [Open](https://portswigger.net/web-security/cors) |

## Related skills

[CORS (Cross-Origin Resource Sharing)](/en/skills/cors)

***

## Comments & tips

Solved this lab a different way? Share it here — comments live in [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="lab:cors-breaking-https-attack" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","name":"CORS vulnerability with trusted insecure protocols","headline":"CORS vulnerability with trusted insecure protocols — PortSwigger lab index","url":"https://rootea.es/en/portswigger/labs/cors/breaking-https-attack","inLanguage":"en","about":[{"@type":"Thing","name":"PortSwigger Web Security Academy"},{"@type":"Thing","name":"CORS"}],"isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"}}`}
</script>
