•  
      request #32642 Missing regex escaping when filtering kanban cards
    Infos
    #32642
    Thomas Gerbet (tgerbet)
    2023-06-23 10:49
    2023-06-22 15:32
    34248
    Details
    Missing regex escaping when filtering kanban cards

    Reproduction scenario:

    1. Go to a kanban
    2. Type the character ( in the filter

    Trace:

    Uncaught SyntaxError: unterminated parenthetical
        InPropertiesFilter in-properties-filter.js:22
        InPropertiesFilter in-properties-filter.js:21
        filterItems kanban-column-service.js:201
        filterBacklogCards app-kanban-controller.js:230
        filterCards app-kanban-controller.js:214
        initFilter app-kanban-controller.js:178
        dispatch tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        handle tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        add tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        Un tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        each tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        each tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        Un tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        on tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        initFilter app-kanban-controller.js:176
        init app-kanban-controller.js:136
        Angular 14
        fe tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        ct tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        setTimeout handler*677/</Deferred/then/M/< tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        E tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        fireWith tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        fire tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        E tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        fireWith tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        ready tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        ft tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        677 tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        677 tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        677 tlp-8bc40e5e22d379219872.tlp-en_US.js:1
        Tt tlp-8bc40e5e22d379219872.tlp-en_US.js:4
        <anonymous> tlp-8bc40e5e22d379219872.tlp-en_US.js:8
        <anonymous> tlp-8bc40e5e22d379219872.tlp-en_US.js:12
        <anonymous> tlp-8bc40e5e22d379219872.tlp-en_US.js:12
    in-properties-filter.js:22
    

    Note: while this can be exploited to do a DoS it can only be triggered by the user itself, is contained to the browser tab and does not impact the integrity or confidentiality of the information.

    Agile Dashboard
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2023-06-23
    Attachments
    Empty
    References

    Follow-ups