We would be better off not using the JSESSIONID value as the in-page nonce.
HTTPOnly cookies exist to prevent XSS attacks getting at the cookie value, and using JSESSIONID as the in-page nonce effectively breaks this protection. We should have 2 separate nonces one for in page protection and one for in-header protection (JSESSIONID)
We would be better off not using the JSESSIONID value as the in-page nonce.
HTTPOnly cookies exist to prevent XSS attacks getting at the cookie value, and using JSESSIONID as the in-page nonce effectively breaks this protection. We should have 2 separate nonces one for in page protection and one for in-header protection (JSESSIONID)