Skip to content
XSS Disclosed report Beginner

x-xss protection header is not set in response header

The response headers from the site did not include the X-XSS-Protection header, which asks browsers to turn on their built-in reflected XSS filter. The reporter does not show any actual cross-site scripting vulnerability, only the absence of this optional header.

karthic Follow

Originally disclosed on HackerOne

  • Disclosed after 11 months

URL : http://inside.gratipay.com/

Description : This header enables the Cross-site scripting (XSS) filter built into most recent web browsers. It's usually enabled by default anyway, so the role of this header is to re-enable the filter for this particular website if it was disabled by the user. This header is supported in IE 8+, and in Chrome (not sure which versions). The anti-XSS filter was added in Chrome 4. Its unknown if that version honored this header.

Solution : Need to set X-XSS-Protection: 1; mode=block in response header

Attachments

xss_header_is_not_present_in_response_header.png
xss_header_is_not_present_in_response_header.png From the original on HackerOne

The original report as published on HackerOne, by karthic. 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 web server or application framework was not configured to send the X-XSS-Protection response header.

Impact

The missing header may reduce defence-in-depth against reflected XSS in older browsers, but no actual vulnerability or exploit is demonstrated.

What the attacker needed

None

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.

Browsers used to have a built-in filter that tried to block some cross-site scripting attacks, where a malicious link makes a site run an attacker's script. A response header called X-XSS-Protection could switch that filter on. This report only notes the header was missing; it does not show any real attack working.

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 karthic

View all

5 more disclosed reports, best first.

More from Gratipay

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.