Skip to content

$record['data'] isn't escaped to be shown on HTML #16

@marado

Description

@marado

I noticed this on brzones.php, where we do, without any escaping, something like this:

<INPUT type="text" value="$record['data']">

The problem with this is that $record['data'] (specially in the case of TXT records) can have ruinous characters, like ". So, if we have a TXT record saying this is an "example", our HTML will be:

<input type="text" value="this is an "example"">

Which is obviously wrong, and can even lead to data loss.

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