### [CVE-2018-5114](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5114) ![](https://img.shields.io/static/v1?label=Product&message=Firefox&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%2058%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=The%20old%20value%20of%20a%20cookie%20changed%20to%20HttpOnly%20remains%20accessible%20to%20scripts&color=brighgreen) ### Description If an existing cookie is changed to be "HttpOnly" while a document is open, the original value remains accessible through script until that document is closed. Network requests correctly use the changed HttpOnly cookie. This vulnerability affects Firefox < 58. ### POC #### Reference - https://bugzilla.mozilla.org/show_bug.cgi?id=1421324 #### Github No PoCs found on GitHub currently.