Skip to content
XSS Advisory Intermediate CVE-2026-113060

UI misrepresentation in Bluetooth (CVE-2026-113060)

Bluetooth device names containing Unicode bidirectional control characters or newlines are displayed without sanitisation in pairing notifications and dialogs. An attacker within radio range could spoof a trusted device name or inject misleading text to trick a user into accepting a pairing request, potentially leading to keystroke injection if the device presents a keyboard profile.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 5 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: Bluetooth device names containing Unicode BiDi control characters or newlines are rendered unsanitized in pairing notifications and dialogs. An attacker in RF range can spoof trusted device names or inject misleading text to trick users into accepting unauthorized pairing requests. This can lead to malicious device bonding and potential keystroke injection attacks.

Affected files:

  • ash/system/bluetooth/bluetooth_notification_controller.cc
  • chrome/browser/ui/views/bluetooth_device_pair_confirm_view.cc
  • device/bluetooth/bluetooth_device.cc
  • device/bluetooth/string_util_icu.cc

Estimated timestamp from git blame: Unknown (Google3 checkout)

Summary

Potential UI spoofing vulnerabilities exist in the Bluetooth pairing flow on ChromeOS and cross-platform Chrome. Bluetooth device names (GAP names) provided by remote devices are rendered in security-sensitive pairing prompts without adequate sanitization. By incorporating Unicode Bidirectional (BiDi) control characters or newlines, a malicious device can misrepresent its identity or inject fake status indicators into the pairing UI.

Root Cause Analysis

The issue originates in device/bluetooth/bluetooth_device.cc. The method BluetoothDevice::GetNameForDisplay() retrieves the remote device name and, after a minimal check for graphic characters, returns it as an unsanitized UTF-16 string.

C++
// device/bluetooth/bluetooth_device.cc
std::u16string BluetoothDevice::GetNameForDisplay() const {
  std::optional<std::string> name = GetName();
  if (name && HasGraphicCharacter(name.value())) {
    return base::UTF8ToUTF16(name.value()); // Unsanitized return
  } else {
    return GetAddressWithLocalizedDeviceTypeName();
  }
}

The HasGraphicCharacter() check (in device/bluetooth/string_util_icu.cc) only ensures the string contains at least one printable character; it does not remove control characters like Right-to-Left Override (RLO, U+202E) or newlines (U+000A).

Vulnerability Details

1. BiDi Spoofing

When the unsanitized name is passed to a views::Label, the rendering engine (via gfx::RenderText) respects Unicode BiDi formatting. An attacker can use RLO to reverse the appearance of the device name. For example, a name advertised as \u202EsyeK XM hcetigoL will be rendered as "Logitech MX Keys", allowing the attacker to impersonate trusted hardware brands.

2. Newline Injection

In both ChromeOS pairing notifications (ash/system/bluetooth/bluetooth_notification_controller.cc) and the cross-platform pairing dialog (chrome/browser/ui/views/bluetooth_device_pair_confirm_view.cc), the device name is rendered in a multi-line views::Label. An attacker can inject a newline character (\n) followed by convincing instructional text, such as "Verified by System" or "Secure Connection", to deceive the user.

Impact

A successful spoofing attack can trick a user into approving a pairing request from a malicious device. If the attacker's device presents a Human Interface Device (HID) profile (e.g., a keyboard), the attacker gains the ability to inject arbitrary keystrokes into the user's session once the bonding is established, potentially leading to full system compromise.

Potential Reproduction Steps

  1. Use a Bluetooth-capable host (e.g., a Linux machine with BlueZ) to advertise a malicious GAP name:
    • BiDi spoof: hciconfig hci0 name $'\u202EsyeK XM hcetigoL'
    • Newline injection: hciconfig hci0 name $'Malicious Device\nVerified by ChromeOS'
  2. Configure the host to use a Keyboard device class and DisplayYesNo IO capabilities.
  3. Initiate pairing from the malicious host to a target Chromebook or a machine running Chrome.
  4. Observe the resulting pairing notification or dialog on the victim's device, noting the spoofed name or injected text.

Suggested Fix

Device names should be sanitized before being returned by GetNameForDisplay() or before being passed to UI components. Recommended actions include:

  1. Collapsing or replacing all control characters and newlines with spaces.
  2. Stripping or isolating BiDi control characters using base::i18n::SanitizeUserSuppliedString() or wrapping the name in BiDi isolation characters (FSI/PDI).

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

Raised in root component due to access or custom field issues on 1131776

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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 the function that prepares the device name for display only checks that the name contains at least one printable character, but does not remove bidirectional control characters or newlines before the name is shown in the pairing UI.

Impact

A successful spoofing attack could trick a user into approving a pairing request from a malicious device; if that device presents a keyboard profile, the attacker could then inject arbitrary keystrokes into the user's session, potentially leading to full system compromise.

What the attacker needed

Attacker within Bluetooth radio range; victim approves pairing request; attacker device presents keyboard profile

The fix

Device names should be sanitised before display by collapsing or replacing control characters and newlines with spaces and by stripping or isolating bidirectional control characters.

How it was found

  1. Use a Bluetooth-capable host to advertise a malicious device name containing bidirectional control characters or a newline.
  2. Configure the host to use a keyboard device class and DisplayYesNo input/output capabilities.
  3. Initiate pairing from the malicious host to a target Chromebook or a machine running Chrome.
  4. Observe the pairing notification or dialog on the victim's device for the spoofed name or injected text.

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.

When you pair a Bluetooth device, your computer shows the device's name, which the device itself chooses. This report says a malicious device can choose a name containing invisible formatting characters or line breaks that make the name look like a different, trusted brand, or add fake reassuring text. If the user then approves pairing, the malicious device could act as a keyboard and type commands on the computer.

What is XSS?

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

More from Google Chrome

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.