{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "ed33c4ecfd2cffa93ece4d4544847f839d47790f"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ed33c4ecfd2cffa93ece4d4544847f839d47790f"
            }
          ],
          "repo": "https://github.com/muety/anchr",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-434"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135438.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "3.7.2"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "3.7.2"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "Anchr before 3.7.2 contains a stored cross-site scripting vulnerability that allows authenticated users to host HTML files by uploading them through the image upload feature with a spoofed image content type. Attackers can upload an .html file served via GET /api/image/:id from the Anchr origin, running script that steals the victim's localStorage session token for account takeover.",
  "id": "CVE-2026-135438",
  "modified": "2026-11-23T22:45:30.443693735Z",
  "published": "2026-11-23T17:57:15.988Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135438.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/muety/anchr"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/muety/anchr/blob/3.5.2/app/controllers/image.js#L46"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/muety/anchr/blob/3.5.2/config/middlewares/filetype.js"
    },
    {
      "type": "FIX",
      "url": "https://github.com/muety/anchr/commit/ed33c4ecfd2cffa93ece4d4544847f839d47790f"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/muety/anchr/issues/91"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135438"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/anchr-before-3.7.2-stored-xss-via-image-upload"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Anchr before 3.7.2 Stored XSS via Image Upload"
}