Skip to content

forms are allowed by default? #571

@GrantGryczan

Description

@GrantGryczan

I was wondering, why are form elements allowed by default? I would think they would be bad since they can send requests to arbitrary locations using arbitrary HTTP methods, possibly without the user's knowledge (and possibly containing sensitive information in an input field). It's not personally a concern for my own use case, but I'm wondering why it's not a concern by default. Should it not be?

<form method="post" action="https://example.com/malicious-endpoint">
    <p>A totally legitimate unknown error occurred.</p>
    <button type="submit">Retry</button>
</form>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions