Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. october/backend
  4. ›
  5. CVE-2021-21265

CVE-2021-21265: Improper Neutralization of HTTP Headers for Scripting Syntax

March 10, 2021 (updated March 11, 2021)

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.

References

  • github.com/advisories/GHSA-xhfx-hgmf-v6vp
  • github.com/octobercms/library/commit/f86fcbcd066d6f8b939e8fe897409d152b11c3c6
  • github.com/octobercms/october/commit/f638d3f78cfe91d7f6658820f9d5e424306a3db0
  • github.com/octobercms/october/security/advisories/GHSA-xhfx-hgmf-v6vp
  • nvd.nist.gov/vuln/detail/CVE-2021-21265
  • packagist.org/packages/october/backend

Code Behaviors & Features

Detect and mitigate CVE-2021-21265 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.2

Fixed versions

  • 1.1.2

Solution

Upgrade to version 1.1.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax

Source file

packagist/october/backend/CVE-2021-21265.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.