Hi Support, I am an engineer at a global hiring platform and currently investigating some sporadic issues noticed by our customers during registration. Unfortunately this issue prevented our customers to complete their registration as our backend received malformed requests, although the frontend sends these requests correctly. After a consultation with our consumers and analysing their network traffic we noticed that each of them have Kaspersky installed and also a script injected into our website that wraps around the fetch API that the page uses.
The script intercepts the fetch API calls and modifies the headers to be sent. E.g.: the Content-Type header which was set as application/json is updated to:
By inspecting the injected code it seems the copyHeaderValues function cause this modification, which function receives the list of headers correctly, but after the processing the headers are set incorrectly to initObject.headers field. The header format inconsistency is even more apparent if you compare the already added 2 headers (Content-Type and X-KL-kis-Ajax-Request).
Due to the incorrectly set (rather missing) Content-Type header our backend service throws an error. Of course this issue can be patched on backend side as well, however I assume the customers having this code injected in to their browser are having various issues on many websites due to these malformed headers, so rather the root-cause should be fixed.
Based on my observation all of our cases happened on Windows 11 and apparently all 3 main browsers were affected (Edge, Chrome, FF). Our users confirmed that after disabling the Inject script into web traffic to interact with web page under the Security/Network settings they were able to complete their registration.
On my end I was also able to reproduce issue on Windows 11 using 21.19.7.527(b) Kaspersky while browsing on Chrome browser (132.0.6834.111).
Hi Support, I am an engineer at a global hiring platform and currently investigating some sporadic issues noticed by our customers during registration. Unfortunately this issue prevented our customers to complete their registration as our backend received malformed requests, although the frontend sends these requests correctly. After a consultation with our consumers and analysing their network traffic we noticed that each of them have Kaspersky installed and also a script injected into our website that wraps around the fetch API that the page uses.
The script intercepts the fetch API calls and modifies the headers to be sent. E.g.: the Content-Type header which was set as application/json is updated to:
By inspecting the injected code it seems the copyHeaderValues function cause this modification, which function receives the list of headers correctly, but after the processing the headers are set incorrectly to initObject.headers field. The header format inconsistency is even more apparent if you compare the already added 2 headers (Content-Type and X-KL-kis-Ajax-Request).
Due to the incorrectly set (rather missing) Content-Type header our backend service throws an error. Of course this issue can be patched on backend side as well, however I assume the customers having this code injected in to their browser are having various issues on many websites due to these malformed headers, so rather the root-cause should be fixed.
Our customers had the following script injected, I hope it helps: https://gc.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=07TcaJU8svcR2J7_g9N97xRyrhEZkQVFT7o65Z0RUnVBHZsvPjl9S-HLiEyv31cuIxuc7Gc0HINL6r8NzYE2mCMcKg0aBVbx3kL0YN4jTvd4iIpmCP2fuwBbaRoSV3VacQcI6h4cQJy56sTJ3UJfdYI6gdsCr66mBsvk048FHApSFHBlLL0eeIdQNhNyEMkz5e_41f_XMuVfAueYeIio20Q_VybtZ5mSRJQljOAJCyg
Based on my observation all of our cases happened on Windows 11 and apparently all 3 main browsers were affected (Edge, Chrome, FF). Our users confirmed that after disabling the Inject script into web traffic to interact with web page under the Security/Network settings they were able to complete their registration.
On my end I was also able to reproduce issue on Windows 11 using 21.19.7.527(b) Kaspersky while browsing on Chrome browser (132.0.6834.111).
Could you please look into the issue?