Skip to content
XSS Disclosed report Intermediate

[Xenoblade Chronicles X: Definitive Edition] Improper validation of names allows injecting formatting tags and bypassing profanity filter

The game did not properly validate player profile and avatar names received from other players online, so text could be interpreted as formatting tags. An attacker could use these tags to change name formatting, insert text, or bypass the profanity filter, with the names visible to others in online multiplayer.

roccodev Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 8 days
  • Fixed in 38 days
  • Paid in 33 days
  • Disclosed after 53 days

Summary by the program

Summary by the researcher

Components affected:

  • Game software (Xenoblade Chronicles X: Definitive Edition) on Nintendo Switch

The issue was fixed in the 1.0.2 version of the game, released globally on Apr 23, 2025.


 

Description

When receiving the player's profile name and avatar name from other players online, the game could interpret text as special formatting tags that could alter formatting or insert text. The most impactful tags required save editing due to the game's name length limit of 10 characters, but some tags could also be used by regular users with no modifications.

Impact

A malicious user could exploit the issue to create names with special formatting (e.g. colors), as well as bypassing the profanity filter with formatting tags that equate to spaces or zero-width characters. The names would also be visible to other users through online multiplayer.

The original report as published on HackerOne, by roccodev. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 game failed to sanitise or escape formatting markup in player-supplied names before displaying them to other players.

Impact

A malicious user could create names with special formatting and bypass the profanity filter, and these names would be visible to other users through online multiplayer.

What the attacker needed

Online multiplayer; some tags need save editing

The fix

The issue was fixed in version 1.0.2 of the game, released globally on 23 April 2025.

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 play online, the game shows other players' names. This game did not check those names carefully, so someone could put special code in their name that the game would treat as instructions to change colours or hide banned words. The problem was fixed in a later version of the game.

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 roccodev

View all

2 more disclosed reports, best first.

More from Nintendo

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.