Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') #244

Open
mpushki opened this issue Sep 29, 2021 · 0 comments

Comments

@mpushki
Copy link

mpushki commented Sep 29, 2021

After checking my application I faced with this problem:
(onFileDrop)="dropped($event)" more information about here

<tbody class="upload-name-style">
    <tr *ngFor="let item of files; let i=index">
        <td><strong>{{ item.relativePath }}</strong></td>
    </tr>
</tbody>

embeds untrusted data in the generated output with relativePath. This untrusted data is embedded straight into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the output.

Have you ever had to deal with such a check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant