X-XSS-Protection -> Misconfiguration
The report notes that the website sends an X-XSS-Protection header with the value DENY, which is not a valid setting for that header. The author claims the correct value should be 1; mode=block, but does not demonstrate any actual security impact.
bb343cc5cbd74210c09dafe Follow
Originally disclosed on HackerOne
- Triaged in 9 days
- Fixed in 32 days
- Disclosed after 32 days
Hi there,
URL: https://www.sfl-tap.army.mil/ I have seen that the website is using the X-XSS-Protection Header.
But it has a strange configuration. When I take a look at securityheaders, I've seen that you guys use this as configuration.
X-XSS-Protection: DENY
DENY is used for the X-Frame Option instead of the X-XSS-Protection. The good configuration should be:
XSS-XSS-Protection: 1; mode=block
And not DENY. This is used for the X-Frame Option.
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 header was set to a value intended for a different header (X-Frame-Options) rather than a valid X-XSS-Protection value.
Impact
The report does not show any real impact; at most, the misconfigured header may fail to enable the browser's legacy XSS filter, but no 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.
Websites can send extra instructions to browsers in their responses, called headers. One such header, X-XSS-Protection, tells older browsers whether to try to block certain script attacks. The report says this site used an invalid value for that header, but it does not show that this mistake lets an attacker do anything harmful.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.