# "Web Server Misconfiguration: Insecure Content-Type Setting" vulnerability detected after version upgrade

**URL:** <https://discuss.elastic.co/t/web-server-misconfiguration-insecure-content-type-setting-vulnerability-detected-after-version-upgrade/344625>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [October 9, 2023, 7:18am UTC](https://discuss.elastic.co/t/web-server-misconfiguration-insecure-content-type-setting-vulnerability-detected-after-version-upgrade/344625 "2023-10-09T07:18:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Septianingrum.17](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Septianingrum.17](https://discuss.elastic.co/u/Septianingrum.17)\
**Post date:** [October 9, 2023, 7:18am UTC](https://discuss.elastic.co/t/web-server-misconfiguration-insecure-content-type-setting-vulnerability-detected-after-version-upgrade/344625/1 "2023-10-09T07:18:12Z")

</div>

After I upgraded the elastic stack to 8.6.0 and carried out a vulnerability scan on Kibana using the microfocus tool, there were vulnerabilities as follows:

 ![gambar](https://us1.discourse-cdn.com/elastic/original/3X/c/0/c0cb4d62a92ea55b18471760e4f7e51c6fb3b394.png)

I have made changes to the Kibana configuration, namely changing

`server.securityResponseHeaders.xContentTypeOptions: "nosniff"`

but that does not solve the problem, this vulnerability is still detected in the next scan.

Please suggest me any solution to rectify this.

---

<div class="post-metadata">

**Author:** ![kgreiner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kgreiner/32/108978_2.png) [@kgreiner](https://discuss.elastic.co/u/kgreiner)\
**Post date:** [October 13, 2023, 2:27pm UTC](https://discuss.elastic.co/t/web-server-misconfiguration-insecure-content-type-setting-vulnerability-detected-after-version-upgrade/344625/2 "2023-10-13T14:27:36Z")

</div>

Hey @Septianingrum.17 !

"nosniff" is the default value for that setting.

Can you provide more info about which endpoint you're running against?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 10, 2023, 2:28pm UTC](https://discuss.elastic.co/t/web-server-misconfiguration-insecure-content-type-setting-vulnerability-detected-after-version-upgrade/344625/3 "2023-11-10T14:28:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
