{"schema":"ursy-truth-spine-proof-v1","record_id":"I-0117","record_url":"https://ursy.com/truth-spine/I-0117/","record_json":"https://ursy.com/truth-spine/I-0117.json","problem":{"slug":"x-content-type-options-missing","title":"No X-Content-Type-Options: nosniff","summary":"Without nosniff, browsers may guess a file's type from its contents, which can let an uploaded file run as a script.","category":"Security and HTTPS","priority":"low","page":"https://ursy.com/issues/x-content-type-options-missing/","found_by_tools":["security-headers-checker","http-header-checker"]},"proof_state":"proved (source quoted)","what_this_proves":"The problem is that there is no X-Content-Type-Options: nosniff header. MDN's reference page for the header explains that with nosniff the browser will not treat a plain text file as HTML, and says \"This prevents XSS-attacks where user-uploaded content is executed as an HTML document\". Those words back the problem: without nosniff, an uploaded file could be run as a page.","boxed_words":["This prevents XSS-attacks where user-uploaded content is executed as an HTML document"],"source":{"owner":"MDN","title":"X-Content-Type-Options","url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options","read_on":"2026-12-01","saved_copy_sha256":"bf491bc3a68c569ba157ca01098fce27156d74fe5ff5a1018f0a71f8128035a7","kind":"official documentation page"},"picture":{"file":"www-ursy-com-truth-spine-proof-x-content-type-options-missing-i-0117.webp","url":"https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/www-ursy-com-truth-spine-proof-x-content-type-options-missing-i-0117.webp","status":"made on the PC; not published yet (publishing waits for the owner's word)","width":1280,"height":1192,"format":"image/webp"},"witnesses":{"source":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options","saved_copy":"URSY.com saved copy, sha256 bf491bc3a68c569ba157ca01098fce27156d74fe5ff5a1018f0a71f8128035a7 (kept on our side)","record":"https://ursy.com/truth-spine/I-0117/","archive_search":"https://web.archive.org/web/2026*/https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options","archive_note":"a search for public archive copies of the source page; not a copy saved by URSY.com"},"made_by":"URSY.com - www.ursy.com","made_on":"2026-12-01","licence_of_this_picture":"Source page © MDN, quoted as a short passage with a link to the source. Red outline, address strip and Truth Spine label © 2026 URSY.com.","follow":{"record":"https://ursy.com/truth-spine/I-0117/","record_json":"https://ursy.com/truth-spine/I-0117.json","problem_page":"https://ursy.com/issues/x-content-type-options-missing/","problem_card":"https://ursy.com/issues/x-content-type-options-missing/index.json","ask_nicola":"https://ursy.com/wp-json/ursy/v1/ask","all_facts":"https://ursy.com/truth-spine/","source":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options","archive_search":"https://web.archive.org/web/2026*/https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options"}}
