Skip to content

Request/Request.HTML execute non-javascript <script> tags as Javascript #2796

@Sophist-UK

Description

@Sophist-UK

It doesn't really matter why, but Joomla uses a script tag to store HTML using a non-standard type attribute "text/something which is not javascript or ecmascript". Mootools String.stripScript extracts all script tags regardless of whether the type attribute indicates it as javascript and attempts to execute it which is incorrect functionality.

Note: The script could equally be e.g. vbscript.

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