Skip to content
XSS Advisory Advanced CVE-2025-58486

(Pwn2Own) Samsung Galaxy S25 Samsung Account Cross-Site Scripting Remote Code Execution Vulnerability

The Samsung Account app on the Galaxy S25 fails to validate user-supplied data, letting an unauthenticated attacker inject and run arbitrary script in the app's WebView.

Kenneth G. Paterson Follow

Originally disclosed on Zero Day Initiative

Medium 6.3 View original

This vulnerability allows remote attackers to execute arbitrary script on affected installations of Samsung Galaxy S25. Authentication is not required to exploit this vulnerability.

Ken Gannon / 伊藤 剣 (@yogehi) of Mobile Hacking Lab, and Dimitrios Valsamaras (@Ch0pin), on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely missing or improper validation and sanitisation of user-supplied data before it is rendered in the Samsung Account WebView.

Impact

An unauthenticated remote attacker could execute arbitrary script in the context of the Samsung Account WebView.

What the attacker needed

Samsung Galaxy S25; Samsung Account app installed; no authentication needed

The fix

Samsung has issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A WebView is a mini browser built into an app. Here, the Samsung Account app put untrusted input into that mini browser without cleaning it, so an attacker could make the app run their own script.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Kenneth G. Paterson

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.