Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-46897

views.py in Wagtail CRX CodeRed Extensions (formerly CodeRed CMS or coderedcms) before 0.22.3 allows upward protected/..%2f..%2f path traversal when serving protected media.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-46897
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:04 UTC · Revision 1

Source evidence

CVE-2021-46897

core-osv · Original source

Published 22 Oct 2023, 19:15 UTC

views.py in Wagtail CRX CodeRed Extensions (formerly CodeRed CMS or coderedcms) before 0.22.3 allows upward protected/..%2f..%2f path traversal when serving protected media.

osv:CVE-2021-46897
Complete source record
{
  "id": "95921ea0fd194904e2399eed21d81058cae9b14c898d9ec901c6260aeb850adc",
  "url": "https://osv.dev/vulnerability/CVE-2021-46897",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-46897",
    "summary": "views.py in Wagtail CRX CodeRed Extensions (formerly CodeRed CMS or coderedcms) before 0.22.3 allows upward protected/..%2f..%2f path traversal when serving protected media.",
    "evidence": "osv:CVE-2021-46897",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-46897",
      "aliases": [
        "CVE-2021-46897",
        "GHSA-h454-rq3m-89rc",
        "PYSEC-2023-210"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/coderedcorp/coderedcms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4721f800beccbda38b930d01c27532b32a3dc390"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wagtailcrx:codered_extensions:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.22.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.22.2",
            "v0.22.1",
            "v0.22.0",
            "v0.21.0",
            "v0.20.0",
            "v0.18.2",
            "v0.18.1",
            "v0.18.0",
            "v0.17.0",
            "v0.16.2",
            "v0.16.1",
            "v0.16.0",
            "v0.15.0",
            "v0.14.0",
            "v0.13.3",
            "v0.13.2",
            "v0.13.1",
            "v0.13.0",
            "v0.12.1",
            "v0.11.0",
            "v0.10.0",
            "v0.9.1",
            "v0.9.0",
            "v0.8.0",
            "v0.7.1",
            "v0.7.0",
            "v0.6.0",
            "v0.5.1",
            "v0.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46897.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:11.662673960Z",
      "provider": "osv",
      "references": [
        "https://github.com/coderedcorp/coderedcms/pull/450",
        "https://github.com/coderedcorp/coderedcms/issues/448",
        "https://github.com/coderedcorp/coderedcms/compare/v0.22.2...v0.22.3"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-46897",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387043,
  "published_at": "2023-10-22T19:15:08.24+00:00"
}