Skip to content

Stored XSS at the Tag field on the "Create New Spending Transaction" page. #514

@tCu0n9

Description

@tCu0n9

Description:

Budget version v0.19.0-16-gd2ebb2b allows remote attackers to inject malicious scripts in line 44 TransactionController.php.

'label' => '<div class="row"><div class="row__column row__column--compact row__column--middle mr-1"><div style="width: 15px; height: 15px; border-radius: 2px; background: #' . $tag->color . ';"></div></div><div class="row__column row__column--middle">' . $tag->name . '</div></div>' // phpcs:ignore

Proof of Concept:

  1. Create a new tag with the payload <img src="a" onmouseover="alert(1)">.

Image

  1. The stored XSS will be triggered in the Tag field on the "Create New Spending Transaction" page.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions