246 questions
0
votes
1
answer
169
views
Prevent session collision / override from cross-site requests when using SameSite=lax
I am using session ids to enable various features for logged and unlogged users on my website. This include matching the csrf token to the session id.
I store the session id as a SameSite=lax cookie.
...
0
votes
0
answers
38
views
webcastellum filter alternatives for spring 6
We are using webcastellum filter in our web application. Since its not supporting Jakarta, we need to find alternatives as we are upgrading to Spring 6. Please suggest if there is any similar filter ...
1
vote
0
answers
48
views
Website does not run unless prevent cross site tracking turned off
I am building a React + Node.js eCommerce app deployed on Vercel (frontend) and Render (backend). The app uses HTTP-only cookies for authentication and has a Wishlist feature where users can add and ...
-1
votes
1
answer
147
views
window.open from a https to http, and from https to http
first of all, this is really important for my website, I need to open a specific http page
I want to know if its a good practice to use window.open to open a page with different protocol (like http -&...
2
votes
2
answers
8k
views
Background-image in CSS url blocked by Opaque Response Blocking
In Django I use a background-image stored on a remote web-storage (Digitalocean Spaces) like this:
<style>
.bg-image {
background-image: url("{{ instance.background.url }}")...
1
vote
0
answers
210
views
Issues when using dompurify.sanitize method on Veracode report for Cross-Site Scripting (XSS) vulnerability
I am Facing Cross-Site Scripting(XSS) issues in Vera code report. I was using dompurify.sanitize() method and also allowed its attributes. Earlier when I was using this method on my code it was fixed ...
2
votes
1
answer
1k
views
How to handle upcoming third-party cookie block in Electron app?
I manage an Electron application where authorization is provided by a JWT cookie set from my server and have recently noticed the Reading cookie in cross-site context will be blocked in future Chrome ...
0
votes
0
answers
35
views
How can I make a cross-site POST request with redirecting?
I am building a site with a list of words for learning a language. I also have another site on a sub-domain for flashcards. I want users to be able to choose words from the list, then press a button ...
0
votes
1
answer
734
views
Angular app fails to set a cookie via ASP.NET Web API
I'm trying to write an angular app with an ASP.NET Core Web API and a Cosmos DB.
Because of sensible data I need to deal with authentication and authorization.
I'm using the Microsoft.AspNetCore....
0
votes
0
answers
138
views
Is this POC a real XSS vulnerability?
I am testing some vulnerabilities and I have some doubts. for example:
1 -
$("#ID").html("<script>alert('XSS')</script>");
if in element id I use the id of the form ...
0
votes
1
answer
42
views
Accessing session information from another tab and site
I have inherited maintenance of a PHP website that is mysite.com and an ASP.NET website that is shop.mysite.com. The client wants a single sign-on for both sites. The solution I am pursuing is to ...
0
votes
1
answer
2k
views
SpringBoot - How I can configure samesite none Csrf Cookie (Spring Security 6.2)
What I have:
I have sprint boot api, and angular app in diferents domains (not subdomains), and is not an option change it.
I only grant access by cors to my angular domain app.
What I need:
I need ...
0
votes
1
answer
226
views
How can I mitigate an inputHidden XSS vulnerability on JSF according to Fortify SAST?
Here, things are clear about what Fortify is finding as a vulnerability because it reports that an inputHidden could be vulnerable to XSS. I read another post about JSF mitigating this, and they said ...
0
votes
2
answers
215
views
Ajax call from apsx to code behind causes 500 error - Referrer Policy: strict-origin-when-cross-origin in .net
I would like to set a session variable in code behind so after received an ajax call result based on the result of that set a session variable.
This application is old webform and is not MVC Here is ...
0
votes
0
answers
731
views
I need to inject the code with eval() function to complete my task, do i need to changes in eval() funcction?
I need to complete this task, please see the below comments,
You are calling the hack() function in your text files which is a good start. The goal of the task inject the hack() function into the ...