PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Shivam7-1
Shivam7-1
22 Oct 2024

Summary of Changes

By using innerText, it will avoid the risk of HTML injection, as these properties automatically escape any HTML special characters in the provided text.
This helps make page more safer as compare to innerHTML and prevent cross-site scripting (XSS) vulnerabilities by treating the input as plain text rather than interpreted HTML.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar Shivam7-1 Shivam7-1 - open - 22 Oct 2024
avatar Shivam7-1 Shivam7-1 - change - 22 Oct 2024
Status New Pending
avatar Shivam7-1 Shivam7-1 - change - 22 Oct 2024
The description was changed
avatar Shivam7-1 Shivam7-1 - edited - 22 Oct 2024
avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2024
Category JavaScript Repository
avatar SniperSister
SniperSister - comment - 8 Nov 2024

The relevant strings are no user provided content, they are hardcoded - there is no vector.

If someone wants to test and fix this then please be aware that it's just a change for the sake of changing.

avatar SniperSister SniperSister - change - 8 Nov 2024
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2024-11-08 08:25:06
Closed_By SniperSister
Labels Added: PR-5.2-dev
avatar SniperSister SniperSister - close - 8 Nov 2024

Add a Comment

Login with GitHub to post a comment