Skip to content

XSS vulnerability #2359

@aydinnyunus

Description

@aydinnyunus

Reflected server-side cross-site scripting

Writing user input directly to a web page allows for a cross-site scripting vulnerability.

https://github.com/mem0ai/mem0/blob/main/embedchain/embedchain/bots/slack.py#L81C13-L82C58

curl -X POST http://127.0.0.1:5000 -H "Content-Type: application/json" -d '{"challenge": "<svg/onload=alert()>"}'

Remediation:

Output encoding

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions