Skip to content

HTML elements in feature description are not includedΒ #354

@mpkorstanje

Description

@mpkorstanje

πŸ‘“ What did you see?

Feature: Belly

  Header text

  </script><script>alert('hello')</script>

  Footer text

  Scenario: a few cukes "</script><script>alert('hello')</script>"
    Given I have 42 cukes in my belly
    When I wait 1 hour
    Then my belly should growl

Note that the first </script><script>alert('hello')</script> from the feature description is not included, the second is.

image

βœ… What did you expect to see?

All html elements should be included, rendered as text.

πŸ“¦ Which tool/library version are you using?

cucumber-html v21.4.1

This is important, because without cucumber/html-formatter#312 the report will not render at all.

πŸ”¬ How could we reproduce it?

No response

πŸ“š Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions