react-schemaorg icon indicating copy to clipboard operation
react-schemaorg copied to clipboard

Update-2 json-ld.tsx DOM text reinterpreted as HTML

Open Shivam7-1 opened this issue 9 months ago • 3 comments

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 prevent cross-site scripting (XSS) vulnerabilities by treating the input as plain text rather than interpreted HTML.

Shivam7-1 avatar Apr 26 '24 10:04 Shivam7-1

Hi @Eyas Could You Please Review This PR Thanks

Shivam7-1 avatar Apr 26 '24 10:04 Shivam7-1

Hi @Eyas Could you please Review This PR Thanks

Shivam7-1 avatar Apr 29 '24 13:04 Shivam7-1

Hi @Eyas Could you please Review This PR Thanks

Shivam7-1 avatar May 03 '24 16:05 Shivam7-1