# CVE-2021-21265: October CMS vulnerable to Potential Host Header Poisoning on misconfigured servers

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.75% (percentile 78, 2026-11-26)
- **CWE:** CWE-644
- **Aliases:** GHSA-xhfx-hgmf-v6vp
- **Published:** 2021-03-10T21:07:25.000Z
- **Modified:** 2026-07-08T06:28:47.054Z

## Who should check

- Projects that depend on Packagist package october/backend (\< 1.1.2)
- Anyone running octobercms october \< 1.1.2

## Description

October is a free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. In October before version 1.1.2, when running on poorly configured servers (i.e. the server routes any request, regardless of the HOST header to an October CMS instance) the potential exists for Host Header Poisoning attacks to succeed. This has been addressed in version 1.1.2 by adding a feature to allow a set of trusted hosts to be specified in the application. As a workaround one may set the configuration setting cms.linkPolicy to force.

## Affected and fixed versions

- Packagist `october/backend`: affected \< 1.1.2; fixed 1.1.2 (osv)
- octobercms october: \< 1.1.2 (cvelist)

## Mitigation

- Upgrade october/backend to 1.1.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-21265. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-21265.md
Affected: october/backend < 1.1.2
Fixed in: 1.1.2

Steps:
1. Search this machine and project for october/backend (Packagist), octobercms october: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-21265 being exploited?

There is no confirmed exploitation: CVE-2021-21265 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.75% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-21265?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2021-21265?

october/backend \< 1.1.2.

### Is there a fix for CVE-2021-21265?

Yes. Fixed in 1.1.2. Upgrade october/backend to 1.1.2 or later.

### How do I check if I'm affected by CVE-2021-21265?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/octobercms/october/security/advisories/GHSA-xhfx-hgmf-v6vp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-21265>
- patch: <https://github.com/octobercms/library/commit/f29865ae3db7a03be7c49294cd93980ec457f10d>
- patch: <https://github.com/octobercms/library/commit/f86fcbcd066d6f8b939e8fe897409d152b11c3c6>
- patch: <https://github.com/octobercms/october/commit/555ab61f2313f45d7d5d138656420ead536c5d30>
- patch: <https://github.com/octobercms/october/commit/f638d3f78cfe91d7f6658820f9d5e424306a3db0>
- other: <https://packagist.org/packages/october/backend>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-21265>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-xhfx-hgmf-v6vp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-21265> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-21265>
