Skip to content

Fix XSS in output_css() (#22) - #26

Open
GreggFranklin wants to merge 1 commit into
groundhoggwp:masterfrom
GreggFranklin:fix-issue-22
Open

Fix XSS in output_css() (#22)#26
GreggFranklin wants to merge 1 commit into
groundhoggwp:masterfrom
GreggFranklin:fix-issue-22

Conversation

@GreggFranklin

Copy link
Copy Markdown

Fixes #22 - CSS now has its own case that runs wp_strip_all_tags() before saving. At the point of output, we neutralize any </ sequence (rendering </style> inert) using the CSS-safe escape </, which browsers accept inside a stylesheet.

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.

Stored XSS in output_css()

1 participant