# Cookie “HTTPOnly” and “secure” attribute vulnerability

**URL:** <https://community.auth0.com/t/cookie-httponly-and-secure-attribute-vulnerability/85024>\
**Category:** Get Help\
**Tags:** api, vulnerability, login, auth0\
**Created:** [June 13, 2022, 12:47pm UTC](https://community.auth0.com/t/cookie-httponly-and-secure-attribute-vulnerability/85024 "2022-06-13T12:47:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coskucinkilic](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/coskucinkilic/32/37986_2.png) [@coskucinkilic](https://community.auth0.com/u/coskucinkilic)\
**Post date:** [June 13, 2022, 12:47pm UTC](https://community.auth0.com/t/cookie-httponly-and-secure-attribute-vulnerability/85024/1 "2022-06-13T12:47:28Z")

</div>

Hello,

When I scan my Frontend Page with “Qualys API SCAN” software that is intended to find vulnerabilities, it lands on AUTH0 page and it finds 2 problems with the cookies:

**Session Cookie (Authentication Related) Does Not Contain The “HTTPOnly” Attribute**  
**Cookie Does Not Contain The “HTTPOnly” Attribute”**

Two cookie starting with:  
1- co%2Fverifier%2Fhttps%253A%252F%252F…  
2- com.auth0.auth.https%3A%2F%2F…

Can you provide more insight related to this problem, I believe this is exactly the same problem on this link [Cookie "HTTPOnly" and "secure" attribute vulnerability - #4](https://community.auth0.com/t/cookie-httponly-and-secure-attribute-vulnerability/77868/5)

Thanks

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 14, 2022, 12:18am UTC](https://community.auth0.com/t/cookie-httponly-and-secure-attribute-vulnerability/85024/4 "2022-06-14T00:18:10Z")

</div>

Hi there @coskucinkilic welcome to the community!

I believe this is just do to the fact that some cookies can’t be set to HTTPOnly because they are required for our frontend SDKs to function properly - That is, if these particular cookies were HTTPOnly, they would be inaccessible by JavaScript and thus inaccessible by the SDKs.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 29, 2022, 12:18am UTC](https://community.auth0.com/t/cookie-httponly-and-secure-attribute-vulnerability/85024/5 "2022-06-29T00:18:49Z")

</div>

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