Skip to content
AI / LLM Write-up Intermediate

Google Unicode SPUA-B Misinterpretation: Decoding Hidden Instructions as Plain Text

Google Gemini rendered Unicode Supplementary Private Use Area-B characters as visible plain text instead of ignoring them. An attacker could inject hidden instructions that bypass filters and appear as readable messages, enabling phishing or obfuscation.

infosecwriteups.com

Published on infosecwriteups.com

A subtle yet critical vulnerability was discovered in Google’s Gemini platform involving Unicode’s Supplementary Private Use Area-B (SPUA-B). These characters, intended for internal or invisible use, were being misinterpreted and rendered as visible text on the interface.

Aditya Sunny, on infosecwriteups.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the rendering engine failed to treat SPUA-B characters as non-visible metadata and instead decoded them as plain text.

Impact

Attackers could bypass input filters and inject hidden messages that become visible when rendered, potentially enabling phishing or obfuscation.

What the attacker needed

Access to Google Gemini input field

The fix

Platforms should sanitise inputs by rejecting or neutralising characters from U+E0000 to U+E007F and update rendering engines to treat them as non-visible.

How it was found

  1. Craft a Unicode payload using SPUA-B characters.
  2. Inject it into a form or API field within Google Gemini.
  3. The system renders the characters as visible instructions.

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 write-up has not been written yet. The Original tab links to the source.

Unicode has special invisible characters meant for internal use, not for display. Google Gemini showed these characters as normal text, so someone could hide a message that only appears when the app displays it. This could let an attacker sneak instructions past filters and trick users.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.