Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

[security] - XSS - Encode special caracters before including content on the page #259

Open
chrisguindon opened this issue May 22, 2020 · 1 comment

Comments

@chrisguindon
Copy link
Member

I did notice last week that some characters might be double encoded in a news item.

I am creating this issue here but I think the plugin is doing the right thing.

Let's investigate: I have a feeling that the fix should be done in the API and not in this plugin as I expect the plugin to encode all special characters.

@chrisguindon
Copy link
Member Author

I made some changes to the API for this but we still need to make an update to the plugin.

The plugin must encode special characters before adding the content to the page.

Encoding should be applied directly before user-controllable data is written to a page because the context you're writing into determines what kind of encoding you need to use.

@chrisguindon chrisguindon changed the title Encoding issue with news items [security] - XSS - Encode special caracters before including content on the page Jun 9, 2020
@chrisguindon chrisguindon transferred this issue from EclipseFdn/jquery-eclipsefdn-api Jul 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant