Skip to content

WebView2 not using SmartScreen even with IsReputationCheckingRequired = true in C#. #3774

Open
@GalacticHypernova

Description

@GalacticHypernova

Description

Tested on numerous sites, the WebView2's internal SmartScreen fails to detect and prevent navigation to said pages. Do note it does flag it on Microsft Edge.
Version
SDK: 1.0.1938.49
Runtime: 116.0.1938.69
Framework: WPF
OS: Win11

Regression
Was this working before but has regressed? I don't know
If yes, what version did this last work on?

Repro Steps

Setting IsReputationCheckingRequired to true and going to a site that is flagged successfully by Microsoft Edge. Expected behavior: The WebView2's SmartScreen should flag it from WPF as well, at least according to the Docs. Actual behavior: It does not detect it and proceeds with the navigation to the unsafe site.

Screenshots
SmartScreen on Edge (working as expected)
EdgeSmartScreen
SmartScreen on WebView2 (not working as expected)
WV2SmartScreen

Additional context
As seen in the screenshots, the SmartScreen on Edge prevents the navigation to the site (which is a redirecting site), but on WebView2 it does not, as seen in the second screenshot, and it does get redirected from it. I censored the site name due to security concerns. If need be, I can share the site I tested on with a WebView2 developer.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions