The recent Windows 10 update for KB5003637 seems to have caused our use of the WebBrowser control to fail. Our applications use a C++ dialog that hosts a web browser control based on the IWebBrowser2 interface and implemented by the COM class 8856f961-340a-11d0-a96b-00c04fd705a2. The control interacts with a bespoke internal 'web server' that is hosted on a localhost port. The web browser is rendering dynamic HTML with a bunch of css and javascript. It's a legacy app that has been working reliably for many years. Our users that have Windows 10 versions 2004, 20H2, and 21H1 are installing the KB5003637, and when they do the web browser does not render the content that it did before. Looking at some trace, I can see that the Web Browser is requesting the page's HTML, which seems to be delivered as it should. What normally happens at that time is that the web browser control requests the css and javascript files needed to make the page active. What happens instead is nothing. The KB5003637 update is pretty big, but does contain fixes for some scripting vulnerabilities described in CVE-2021-31959 which are very much on point. Nothing that I've found so far indicates how this was fixed, the effect that it has on the WebBrowser control, nor what workarounds there might be. Any help would be appreciated.
Windows update KB5003637 seems to have broken WebBrowser control, does anyone know why?
288 Views Asked by Ken Kauer At
1
There are 1 best solutions below
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in WEBBROWSER-CONTROL
- C++ Get file content from the DLL resource
- WPF How to show a MemoryStream PDF document to a WebBrowser
- Determine if an IHTMLTxtRange object is visible
- Results of locating small objects with pyautogui change depending on browser's window size
- WebBrowser.Navigate does not appear to be returning DocumentText
- Capture a screenshot of HTML content using a WebBrowser control
- Set Attribute of DOM-Element in C# With the webBrowser in Windows Forms
- What methods exist to copy a gif to the clipboard and post it into other applications?
- the code gets stuck after I select the word file
- Windows Forms WebBrowser: CTRL+F Search doesn't find anything
- How HTML & CSS Code Can Be Used to Print POS on vb.net
- WPF WebBrowser-Control open Link in Internet Explorer
- VBA webbrowser findtext next occurrences
- How to set Paper Size A5,PageOrientation,Set name Printer in a web browser control with code in VB.NET
- why does my web browser's PrintPreviewDialog display become small when loaded in vb.net
Related Questions in WINDOWS-UPDATE
- Broken Windows Server, after crash of VM - CBS_E_SOURCE_MISSING
- Schedule WSUS Updates for a group of devices
- Windows Post Patch Report not showing available/pending updates
- On Windows 10/11, How to delete Registry HKEY_LOCAL_MACHINE\SYSTEM\WaaS\Upfc?
- Media Foundation cannot initialise transform (cannot connect to Windows Update)
- WSUS delete computer in DownstreamServer
- Download Newest Windows 11x64 CUs for: System & .NET Framework with PowerShell or any other automation tool
- PostgreSQL Error: Database Locale Incompatibility Following Windows Update (From Turkish_Turkey.1254 to Turkish_Türkiye.1254)
- Import update into WSUS by .msu file
- Azure Update Manger - Cannot edit maintenance configurations that were created with Powershell
- WSUS Upstream and Downstream in different domains
- access method 'system.window.dpiscale.get_pielperinchy() failed
- How do I test if the changes I made to the Windows 10 Update process work
- Could not load file or assembly Microsoft.AspNetCore.*
- Object error during installation of Windows updates
Related Questions in IWEBBROWSER2
- I want to make fitting the Parent Window to IWebBrowser2 object size
- IHTMLElement setAttribute does not refresh
- Sending POST request with IWebBrowser2 in plain C
- How to show UTF-8 in IWebBrowser2
- Web browser in C# windows application form without using web browser class
- CWebBrowser2 (MFC) GoBack method causing crash when it has nothing to go back to
- function get_Document (ExDisp.h -) - how to get error message : IErrorInfo?
- Windows update KB5003637 seems to have broken WebBrowser control, does anyone know why?
- Open Mozilla Firefox with CoCreateInstance function . How do?
- Why would my BHO fail to obtain IWebBrowser2 pointer inside IObjectWithSite::SetSite()?
- show webview/webpage window in c++ windows desktop application
- What's the relationship between SID_STopLevelBrowser and IWebBrowser2?
- Disabling "Script Error" popup IWebBrowser2 c++ WinApi
- Set pdf viewer in IWebBrowser2 when it is displaying pdf file(C++)
- How to disable right click for IWebBrowser2 (C++)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Turns out that the Windows update I described did change the behavior of the WebBrowser control. Our bespoke web server was not including content type headers for responses to the WebBrowser's request. For the last decade or more, the control was successfully able to figure out what the content was OR it defaulted to the correct content type in the cases that mattered. After the update, the WebBrowser was defaulting to a content type of 'text' for the initial HTML payload. As a result it was not trying to interpret the payload as HTML and therefore no further actions were necessary (like requesting css and js files).
When I changed the code to include a content type header of "text/html" for the initial payload, the application began working. Content type headers are now included with all replies.