Skip to content

mezzanine xss #1921

@deFming

Description

@deFming

Version: <=4.3.1
My English is not good, the report is translated by Google.
Recurring vulnerabilities:
Vulnerability url: http://127.0.0.1:8000/admin/blog/blogpost/add/
When adding a blog, use Burpsuite to capture the package, modify the title to test<svg/onload=alert(1)> and the content as <svg>
21CB7D45-8A10-4E42-BCF6-F43BA73AB36B
Return http://127.0.0.1:8000/blog/ to trigger the xss
9A9C3CCC-D286-4AB9-87C2-B3E9A3FF99B6
The cause of the vulnerability is due to the description_from_content function of core/models.py, line 184, where the value of title is called, resulting in xss
8F2A6B92-DB86-42CA-9DC0-4D195CB64BBA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions