Skip to content
Heist/ feed
Back to feed
Medium

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Jirafeau

Type: advisorySources: OSV

Jirafeau normally prevents browser preview for text files due to the possibility that for example SVG and HTML documents could be exploited for cross site scripting. This was done by storing the MIME type of a file and allowing only browser preview for MIME types beginning with image (except for image/svg+xml, see CVE-2022-30110, CVE-2024-12326 and CVE-2025-7066), video and audio. However, it was possible to bypass this check by sending a manipulated HTTP request with an invalid MIME type like image. When doing the preview, the browser tries to automatically detect the MIME type resulting in detecting SVG and possibly executing JavaScript code. To prevent this, MIME sniffing is disabled by sending the HTTP header X-Content-Type-Options: nosniff.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-1466
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 00:25 UTC · Revision 1

Source evidence

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Jirafeau

core-osv · Original source

Published 28 Jan 2026, 06:33 UTC

Jirafeau normally prevents browser preview for text files due to the possibility that for example SVG and HTML documents could be exploited for cross site scripting. This was done by storing the MIME type of a file and allowing only browser preview for MIME types beginning with image (except for image/svg+xml, see CVE-2022-30110, CVE-2024-12326 and CVE-2025-7066), video and audio. However, it was possible to bypass this check by sending a manipulated HTTP request with an invalid MIME type like image. When doing the preview, the browser tries to automatically detect the MIME type resulting in detecting SVG and possibly executing JavaScript code. To prevent this, MIME sniffing is disabled by sending the HTTP header X-Content-Type-Options: nosniff.

osv:CVE-2026-1466
Complete source record
{
  "id": "769f735ea205f56d8d46c4c444cd628ff77851a2160c80aa40ef5781e4c1fc2b",
  "url": "https://osv.dev/vulnerability/CVE-2026-1466",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Jirafeau",
    "summary": "Jirafeau normally prevents browser preview for text files due to the possibility that for example SVG and HTML documents could be exploited for cross site scripting. This was done by storing the MIME type of a file and allowing only browser preview for MIME types beginning with image (except for image/svg+xml, see CVE-2022-30110, CVE-2024-12326 and CVE-2025-7066), video and audio. However, it was possible to bypass this check by sending a manipulated HTTP request with an invalid MIME type like image. When doing the preview, the browser tries to automatically detect the MIME type resulting in detecting SVG and possibly executing JavaScript code. To prevent this, MIME sniffing is disabled by sending the HTTP header X-Content-Type-Options: nosniff.",
    "evidence": "osv:CVE-2026-1466",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-1466",
      "aliases": [
        "CVE-2026-1466"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/jirafeau/Jirafeau",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f1b3cb91458721a5c2a5a8779b35113688f8f0bd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.7.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "747afb20bfcff14bb67e40e7035d47a6311ba3e1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.7.0",
            "4.6.3",
            "4.6.2",
            "4.6.1",
            "4.6.0",
            "4.5.0",
            "4.4.0",
            "4.3.0",
            "4.2.0",
            "4.1.1",
            "4.1.0",
            "4.0.0",
            "3.4.1",
            "3.4.0",
            "3.3.0",
            "3.2.1",
            "3.2.0",
            "1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1466.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.126666680Z",
      "provider": "osv",
      "references": [
        "https://www.cve.org/CVERecord?id=CVE-2022-30110",
        "https://www.cve.org/CVERecord?id=CVE-2024-12326",
        "https://www.cve.org/CVERecord?id=CVE-2025-7066",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1466.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-1466",
        "https://gitlab.com/jirafeau/Jirafeau/-/commit/747afb20bfcff14bb67e40e7035d47a6311ba3e1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1466.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-1466",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520950,
  "published_at": "2026-01-28T06:33:15.181+00:00"
}