<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/root-from-the-parking-lot-openwrt-xss-through-ssid-scanning-cve-2026-32721--ynilg1rdd" -->

---
title: Root from the parking lot: OpenWRT XSS through SSID...
description: A crafted WiFi SSID can trigger an XSS vulnerability in OpenWRT's LuCI web interface when an administrator opens the wireless scan page. The vulnerability...
canonical: https://daily.dev/posts/root-from-the-parking-lot-openwrt-xss-through-ssid-scanning-cve-2026-32721--ynilg1rdd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Root from the parking lot: OpenWRT XSS through SSID scanning (CVE-2026-32721) | daily.dev
og:description: A crafted WiFi SSID can trigger an XSS vulnerability in OpenWRT's LuCI web interface when an administrator opens the wireless scan page. The vulnerability...
og:url: https://daily.dev/posts/root-from-the-parking-lot-openwrt-xss-through-ssid-scanning-cve-2026-32721--ynilg1rdd
og:image: https://api.daily.dev/og/posts/YnILg1RdD.png
og:image:alt: Root from the parking lot: OpenWRT XSS through SSID scanning (CVE-2026-32721)
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Root from the parking lot: OpenWRT XSS through SSID scanning (CVE-2026-32721)

**[Lobsters](https://daily.dev/sources/lobsters)** · 6 min read · 0 upvotes · 0 comments

## Summary

A crafted WiFi SSID can trigger an XSS vulnerability in OpenWRT's LuCI web interface when an administrator opens the wireless scan page. The vulnerability exists in wireless.js within luci-mod-network, where SSID values are passed unsanitized into innerHTML. Using two access points simultaneously to overcome the 32-byte SSID length limit, an attacker can load arbitrary JavaScript in the admin session. The injected script then uses the ubus API to plant an SSH public key and enable gateway ports, resulting in persistent root SSH access with no visible indication to the admin. The fix replaces innerHTML with safe text node insertion and is available in OpenWrt 24.10.6 and 25.12.1. The attack requires no credentials and no interaction beyond the admin opening the scan page while malicious SSIDs are in range.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://mxsasha.eu/posts/openwrt-ssid-xss-to-root/>

## Similar posts on daily.dev

- [Critical UniFi OS bug lets hackers gain root without authentication](https://daily.dev/posts/critical-unifi-os-bug-lets-hackers-gain-root-without-authentication-wfqtinglo) · BleepingComputer · 0 upvotes · 0 comments
- [A Deep Dive Into Attempted Exploitation of CVE-2023-33538](https://daily.dev/posts/a-deep-dive-into-attempted-exploitation-of-cve-2023-33538-prhsvxjqs) · Unit 42 · 0 upvotes · 0 comments
- [Hacking A Tenda AC1200 Wi-Fi Router With A CVE Combo](https://daily.dev/posts/hacking-a-tenda-ac1200-wi-fi-router-with-a-cve-combo-psnxwd458) · Hackaday · 2 upvotes · 0 comments
- [Finding XSS Through HTML Injection — Without Fuzzing Tools](https://daily.dev/posts/finding-xss-through-html-injection-without-fuzzing-tools-c7q1ohdej) · InfoSec Write-ups · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/root-from-the-parking-lot-openwrt-xss-through-ssid-scanning-cve-2026-32721--ynilg1rdd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Root from the parking lot: OpenWRT XSS through SSID scanning (CVE-2026-32721)","url":"https://daily.dev/posts/root-from-the-parking-lot-openwrt-xss-through-ssid-scanning-cve-2026-32721--ynilg1rdd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/root-from-the-parking-lot-openwrt-xss-through-ssid-scanning-cve-2026-32721--ynilg1rdd"},"datePublished":"2026-03-20T02:16:38.063Z","dateModified":"2026-03-20T02:17:16.503Z","description":"A crafted WiFi SSID can trigger an XSS vulnerability in OpenWRT's LuCI web interface when an administrator opens the wireless scan page. The vulnerability...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2b92a8f4acaba552e2a8288b076f5c30?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2b92a8f4acaba552e2a8288b076f5c30?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/root-from-the-parking-lot-openwrt-xss-through-ssid-scanning-cve-2026-32721--ynilg1rdd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,javascript","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"Root from the parking lot: OpenWRT XSS through SSID scanning (CVE-2026-32721)"}]}
```

