How I Found and Reported a Critical XSS Vulnerability in AT&T’s Subdomain (Now Patched)
A reflected cross-site scripting flaw existed in a search parameter on an AT&T subdomain, allowing an attacker to run JavaScript in a victim's browser. The researcher reported it and the vendor patched it.
As an ethical security researcher, I’m constantly probing web applications for vulnerabilities before malicious actors can exploit them. Today, I’m sharing how I discovered a reflected Cross-Site Scripting (XSS) vulnerability in AT&T’s corporate subdomain on February 2, 2025, responsibly disclosed it through…
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
The application failed to encode or sanitise user input before rendering it, and lacked a strict Content Security Policy.
Impact
If exploited, this could have enabled session hijacking, phishing attacks, and defacement on a subdomain hosting corporate communications.
What the attacker needed
Victim clicks a crafted link
The fix
The security team added DOMPurify and HTML entity encoding, and set a Content-Security-Policy header restricting scripts to the same origin.
How it was found
- Open the allnews page with a searchkey parameter containing an SVG onload payload.
- Observe JavaScript execution showing the domain in an alert box.
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.
Cross-site scripting (XSS) is when a website puts user-supplied text into a page without making it safe, so a crafted link can make the site run an attacker's JavaScript. Here, the search box on a news page echoed back a malicious value, so opening a specially built link would show an alert box and could be used to steal cookies or show fake login forms.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.