Skip to content

strip tab in attribute value to block tabbed data:text/html uri - #93

Open
arib06 wants to merge 1 commit into
joomla-framework:4.x-devfrom
arib06:attr-value-tab-data-uri
Open

strip tab in attribute value to block tabbed data:text/html uri#93
arib06 wants to merge 1 commit into
joomla-framework:4.x-devfrom
arib06:attr-value-tab-data-uri

Conversation

@arib06

@arib06 arib06 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

strip the tab character from attribute values in cleanAttributes, otherwise a tab inside a data uri passes the data:text/html check and browsers drop the tab when parsing the url so the data uri still executes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant