Skip to content

CSRF vulnerability in the submitDefaultEditor function #540

@jamesros161

Description

@jamesros161

Describe the bug
A CSRF vulnerability in the submitDefualtEditor function was reported by Rio Darmawan via WordFence

Expected behavior
A nonce field should be added to the form, and that nonce should be validated in the formActionRoute method, from which the submitDefaultEditor method is called.

Additional context
This vulnerability has a CVE number reserved for it, however no data was submitted to the CVE for this vulnerability at the time of this ticket being created. If / When it is, the CVE report can be found here CVE-2023-25480

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