Skip to content

Conversation

@abiteman
Copy link
Contributor

@abiteman abiteman commented Jul 1, 2025

Add a "Notes" entry option to transactions to allow users to add additional context and details. Fixes #41

@abiteman
Copy link
Contributor Author

abiteman commented Jul 1, 2025

bugbot run

@abiteman abiteman self-assigned this Jul 1, 2025
@abiteman abiteman requested a review from gitmotion July 1, 2025 03:01
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: XSS via DOM Injection

XSS vulnerability: The notes field content is directly inserted into the DOM without HTML escaping, allowing user-provided malicious HTML or JavaScript to be executed when transactions are displayed.

public/script.js#L361-L362

DumbBudget/public/script.js

Lines 361 to 362 in f683c91

<div class="description">${transaction.description}</div>
${transaction.notes ? `<div class="notes">${transaction.notes}</div>` : ''}

Fix in Cursor


BugBot free trial expires on July 22, 2025
You have used $0.00 of your $20.00 spend limit so far. Manage your spend limit in the Cursor dashboard.

Was this report helpful? Give feedback by reacting with 👍 or 👎

@abiteman abiteman merged commit d44543b into main Jul 1, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

Add Invoice Number or Receipt Number as an expense input.

4 participants