pywa@2.11.0 vulnerabilities

🚀 Build WhatsApp Bots in Python • Fast, Effortless, Powerful

  • latest version

    3.9.0

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    16 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the pywa package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Cross-site Scripting (XSS)

    pywa is a 🚀 Build WhatsApp Bots in Python • Fast, Effortless, Powerful

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the webhook challenge and update handlers in the Flask and FastAPI webhook endpoints. An attacker can execute malicious scripts in victims' browsers by sending crafted challenge/update requests whose responses are rendered as executable content because the endpoints previously lacked the X-Content-Type-Options: nosniff header.

    How to fix Cross-site Scripting (XSS)?

    Upgrade pywa to version 3.0.0rc1 or higher.

    [,3.0.0rc1)