2022-09-22 07:28:46 +00:00
id : xss-deprecated-header
2022-05-16 16:12:06 +00:00
info :
2022-09-16 19:50:10 +00:00
name : XSS-Protection Header - Cross-Site Scripting
2022-05-16 16:12:06 +00:00
author : joshlarsen
2022-09-21 08:50:57 +00:00
severity : info
2022-09-21 21:42:27 +00:00
description : Setting the XSS-Protection header is deprecated. Setting the header to anything other than `0` can actually introduce an XSS vulnerability.
2022-05-16 16:12:06 +00:00
reference :
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
- https://owasp.org/www-project-secure-headers/#x-xss-protection
2022-09-16 19:50:10 +00:00
classification :
2022-09-21 21:42:27 +00:00
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
2023-10-14 11:27:55 +00:00
cvss-score : 0
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-10-14 11:27:55 +00:00
tags : xss,misconfig,generic
2022-05-16 16:12:06 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-05-16 16:12:06 +00:00
- method : GET
path :
- "{{BaseURL}}"
matchers-condition : and
matchers :
- type : regex
part : header
regex :
- "(?i)x-xss-protection: 0"
negative : true
- type : regex
part : header
regex :
- "(?i)x-xss-protection: 1+"
extractors :
- type : kval
part : header
kval :
2022-05-17 08:06:53 +00:00
- x_xss_protection
2023-10-20 11:41:13 +00:00
# digest: 4b0a00483046022100bf9a6e90e4d3004caff9982d22093726978d7b063269b438ab75ea2bcba15a19022100ce53a1ef6ffb2b220c86574ebc654c0d0b2ca16c42cc940cef32e369f5f5ef07:922c64590222798bb761d5b6d8e72950