Addressable display_uri can show misleading hosts containing bidi and invisible characters

State
Published
Severity
3.1 Low
Published
Nov 12, 2026
Updated
Nov 16, 2026
Reserved
Nov 10, 2026

Read the record on cve.org

Description

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.9.1, Addressable::IDNA.to_unicode can decode Punycode labels that contain bidirectional controls, zero-width characters, control characters, or other default-ignorable format characters. Addressable::URI#display_uri can consequently show a reordered or visually indistinguishable hostname even though host, normalized_host, and network connections use the original encoded hostname. The pure-Ruby backend accepts the full prohibited set, while the native libidn backend is affected from 2.5.2 for characters added after Unicode 3.2. This issue is fixed in version 2.9.1.

ProductVersions
addressable sporkmonger>= 2.0.0, < 2.9.1 Affected

Weaknesses

  • CWE-176 Improper Handling of Unicode Encoding
  • CWE-451 User Interface (UI) Misrepresentation of Critical Information
  • CWE-1007 Insufficient Visual Distinction of Homoglyphs Presented to User

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.