github / github/codeql

False positive: XSS when MimeType.TEXT has been set

Open
#15,055 1 comment 0 reactions 0 assignees View on GitHub
false-positive
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

**Description of the false positive**

tez-common/src/main/java/org/apache/tez/common/web/ProfileOutputServlet.java:63

**URL to the alert on GitHub code scanning (optional)**

https://github.com/OSS-Security-Assessments/apache__tez/security/code-scanning/16

False positive of Cross-Site Scripting because the content-type in the response has been set to `MimeType.TEXT`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.