CAPEC-503
WebView Exposure
An adversary, through a malicious web page, accesses application specific functionality by leveraging interfaces registered through WebView's addJavascriptInterface API. Once an interface is registered to WebView through addJavascriptInterface, it becomes global and all pages loaded in the WebView can call this interface.
On this page
Ask an AI about this attack pattern
Show the prompt
Explain the attack pattern CAPEC-503: WebView Exposure: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/503.html and https://cve.bz/cve/capec/503?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.
Prerequisites
This type of an attack requires the adversary to convince the user to load the malicious web page inside the target application. Once loaded, the malicious web page will have the same permissions as the target application and will have access to all registered interfaces. Both the permission and the interface must be in place for the functionality to be exposed.
Mitigations
To mitigate this type of an attack, an application should limit permissions to only those required and should verify the origin of all web content it loads.
Weaknesses it exploits
- CWE-284 Improper Access Control
Recent CVEs with these weaknesses
- 5.5CVE-2026-140053
A weakness has been identified in g-mr SmartCall up to 1.0.9. Impacted is the function queryUserByLoginId of the file UserClientController.java of the component smart-user. Executing a manipulation of the argument loginId can lead to impro…
- 5.5CVE-2026-140052
A vulnerability was identified in g-mr SmartCall up to 1.0.9. This vulnerability affects the function token of the file smart-maxkb/src/main/java/com/qidiangk/smart/maxkb/controller/TokenController.java of the component smart-maxkb. Such m…
- 5.5CVE-2026-140051
A vulnerability was found in g-mr SmartCall 1.0.9. Affected by this issue is the function online of the file smart-upms/smart-user/src/main/java/com/qidiangk/smart/user/controller/UserController.java of the component Smart-user User-Online…
- 5.5CVE-2026-139893
A vulnerability has been found in 0xERR0R blocky up to 0.35.0. Impacted is the function configureDebugHandler of the file server/server_endpoints.go. Such manipulation leads to information disclosure. The attack may be performed from remot…
- 2.1CVE-2026-138430
A security vulnerability has been detected in BKWLD Decoy up to 5.11.1. The affected element is the function store of the file classes/Controllers/Redactor.php of the component Redactor. The manipulation leads to unrestricted upload. The a…
- 3.3CVE-2026-112235
The Popup Builder WordPress plugin through 4.4.6 does not properly check authorization before allowing a user to store popup preview data against arbitrary posts, nor restrict who can read that content back on public requests, allowing us…
- 7.3CVE-2026-80505
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Access Control vulnerability. A low privileged local attacker could potentially exploit this vulnerability, leading to Information disclosure.
- 7.6CVE-2026-123762
A catalog zone update introducing a new zone which already exists, but in a different backend than the one storing the catalog zone, will cause a duplicate zone to be created in that backend, and (depending on the backend load order) may c…
The newest records naming one of them. Each weakness's page lists them all.
Related attack patterns
- Part of
- CAPEC-122 Privilege Abuse
MITRE's words, unchanged: CAPEC-503 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.