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

Unvalidated/Unsanitized user input in src/store/reducers/data.js #36

Open
Tracked by #42
decause-gov opened this issue Sep 1, 2023 · 0 comments
Open
Tracked by #42
Labels
bug Something isn't working

Comments

@decause-gov
Copy link
Contributor

Issue Report

Unvalidated/Unsanitized user input in src/store/reducers/data.js

Expected behavior

User input should be validated and sanitized to prevent potential security issues.

Actual behavior

src/store/reducers/data.js

  1. Data fetching functions, like in /store/reducers/data.js, use template literals for
    URLs. If any of the values (e.g., organizationId) come directly from user input, it can
    lead to security issues. Even though the risk in your code isn't evident, always validate
    and sanitize user input before use.
@decause-gov decause-gov added the bug Something isn't working label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant