# PCI Compliance Failure

**URL:** <https://community.hubspot.com/t/pci-compliance-failure/26641>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [October 12, 2020, 3:34pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641 "2020-10-12T15:34:37Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseph\_costello](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/joseph_costello/32/22074_2.png) [@joseph\_costello](https://community.hubspot.com/u/joseph_costello)\
**Post date:** [October 12, 2020, 3:34pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/1 "2020-10-12T15:34:37Z")

</div>

Recently my website has started to fail PCI Compliance scans through Trustwave. Part of it is related to Hub Spot cookies.

DetectionDetails: Cookie Vulnerabilities Found \_\_hssrc=1 Path = / Host = 0.0.0.0 Cookie does not have secure attribue in HTTPS Cookie does not have an HTTPOnly Attribute Cookie Change Observed on CLIENTside

We’ve migrated to the external merchant forms so we no longer need to worry about the PCI scan here, but I wanted to pass this along so Hubspot was aware. I’m not sure if the secure attribute can be set on the HS cookies, but might want to look into it. There were also other non-session cookies flagged in the scan to with other frameworks we used, so I don’t know if its really a problem with them, or more of a problem with Trustwave’s automated session cookie detection.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [October 12, 2020, 5:51pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/2 "2020-10-12T17:51:43Z")

</div>

[@joseph\_costello](https://community.hubspot.com/t5/user/viewprofilepage/user-id/148078)

Thank you so much for flagging! I Will get this to the team to check it out

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [April 7, 2021, 3:25pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/3 "2021-04-07T15:25:41Z")

</div>

@dennisedson

Any developments on that front? We’d also need the cookies to be HttpOnly for security reasons.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [April 7, 2021, 4:19pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/4 "2021-04-07T16:19:18Z")

</div>

@Anonymous , yep there has been development. It is an alpha form and will be released as an in app feature.

I have a reminder set to check in on this later this month 😀 but please feel free to yell at me if I am not responsive.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [April 7, 2021, 4:24pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/5 "2021-04-07T16:24:58Z")

</div>

Awesome, thanks for the quick response. Looking forward to that 🙂

---

<div class="post-metadata">

**Author:** ![KT17](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kt17/32/31639_2.png) [@KT17](https://community.hubspot.com/u/KT17)\
**Post date:** [July 20, 2021, 8:28am UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/6 "2021-07-20T08:28:25Z")

</div>

Any update on this? As this is needed for the same above reasons.

Thanks

---

<div class="post-metadata">

**Author:** ![CDavis45](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@CDavis45](https://community.hubspot.com/u/CDavis45)\
**Post date:** [November 7, 2025, 5:18pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/7 "2025-11-07T17:18:07Z")

</div>

@dennisedson, is there any update on this? Maybe a work-around? It’s 2025 and my vulnerability scans are now failing do to the lack of HttpOnly.

---

<div class="post-metadata">

**Author:** ![BGarcia09](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@BGarcia09](https://community.hubspot.com/u/BGarcia09)\
**Post date:** [February 27, 2026, 4:02pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/8 "2026-02-27T16:02:27Z")

</div>

@dennisedson Is there any update on this? It’s 2026 now and my vulnerability scans still fail. I have enabled “Use secure cookies only” a long time ago.

---

<div class="post-metadata">

**Author:** ![STierney](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stierney/32/186066_2.png) [@STierney](https://community.hubspot.com/u/STierney)\
**Post date:** [March 5, 2026, 7:12pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/9 "2026-03-05T19:12:32Z")

</div>

Hey @BGarcia09 - thanks for following up here!  
Aside from re-tagging @dennisedson, I’d also like to tag in @RubenBurdin and @EValdes to see if either of them have any insight on there being any update regarding this.  
Shane, Senior Community Moderator

---

<div class="post-metadata">

**Author:** ![kate4](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kate4/32/2679_2.png) [@kate4](https://community.hubspot.com/u/kate4)\
**Post date:** [August 3, 2021, 10:02am UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/10 "2021-08-03T10:02:02Z")

</div>

Hi @dennisedson !  
Are there any updates?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [August 3, 2021, 6:53pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/11 "2021-08-03T18:53:49Z")

</div>

@kate4 ,

Glad you asked 😜

If you go [here,](https://app.hubspot.com/l/settings/analytics-and-tracking/domains)

you should be able to now select “Use secure cookies only”

 ![Settings.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/6/c650659b46db9920149eb0c8ef1eac0ea28121c0.png)

---

<div class="post-metadata">

**Author:** ![TNail](https://avatars.discourse-cdn.com/v4/letter/t/eada6e/32.png) [@TNail](https://community.hubspot.com/u/TNail)\
**Post date:** [June 10, 2024, 10:29am UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/12 "2024-06-10T10:29:24Z")

</div>

@dennisedson setting “Use secure cookies only” fix “secure” attribute for JSESSIONID cookie. But it doesn’t fix HTTPOnly attribute. Is there a plan to fix this as well?

---

<div class="post-metadata">

**Author:** ![PPointPredict](https://avatars.discourse-cdn.com/v4/letter/p/74df32/32.png) [@PPointPredict](https://community.hubspot.com/u/PPointPredict)\
**Post date:** [January 11, 2022, 10:45pm UTC](https://community.hubspot.com/t/pci-compliance-failure/26641/13 "2022-01-11T22:45:01Z")

</div>

Hi all,

We found the following security issue from WANS scan report

**Threat**  
The cookie does not contain the “HTTPOnly” attribute.  
**Impact**  
Cookies without the “HTTPOnly” attribute are permitted to be accessed via JavaScript. Cross-site scripting attacks can steal cookies which could lead to user  
impersonation or compromise of the application account.  
**Solution**  
If the associated risk of a compromised account is high, apply the “HTTPOnly” attribute to cookies.

Detection Information  
Cookie Name(s) messagesUtk, \_\_hssc, \_\_hssrc, \_\_hstc, hubspotutk
