Skip to content

Cross-Site Scripting: Inter-Component Communication #349

Open
@QiAnXinCodeSafe

Description

@QiAnXinCodeSafe

Intent intent = getIntent();
String url = intent.getStringExtra(PARAM_URL);

sonicSession = SonicEngine.getInstance().createSession(url, sessionConfigBuilder.build());
if (null != sonicSession) {
sonicSession.bindClient(sonicSessionClient = new SonicSessionClientImpl());


public void clientReady() {
if (session != null) {
session.onClientReady();


public void loadUrl(String url, Bundle extraData) {
webView.loadUrl(url);

Sending unvalidated data to a web browser can result in the browser executing malicious code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions