Android security tags, read closely by Lightrion

CVE-2025-26443 AI-generated analysis

platform/packages/apps/ManagedProvisioning, terms HTML rendering (common/HtmlToSpannedParser, links handled via WebActivity per class javadoc)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (7 corrections). Verify against the commit before relying on it.

HtmlToSpannedParser in ManagedProvisioning now rejects any URLSpan whose URL is not http:// or https:// (returning null for the whole parsed text) before handing the URL to UrlIntentFactory, so links embedded in the TermsActivity HTML can no longer produce intents for other schemes.

Root cause

In src/com/android/managedprovisioning/common/HtmlToSpannedParser.java, the parse method iterated all URLSpan objects in the Html.fromHtml result and passed urlSpan.getURL() straight to mUrlIntentFactory.create(), using any non-null intent for the span. It did not check the URL scheme, so links with non-web schemes produced intents. The commit message states this allowed an app to be installed via a link embedded in the TermsActivity.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2025 · Findings