[wp-trac] [WordPress Trac] #54893: wp_set_script_translations() accepts and evaluates <script> tag included in JSON
WordPress Trac
noreply at wordpress.org
Tue Jan 25 08:08:49 UTC 2022
#54893: wp_set_script_translations() accepts and evaluates <script> tag included in
JSON
------------------------------+------------------------------
Reporter: Takahashi_Fumiki | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
------------------------------+------------------------------
Comment (by swissspidy):
As explained in the ticket, the security team doesnât consider it to be a
vulnerability but would like to add some hardening around inline script
tags.
This is **not** about using esc_html or the like.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54893#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list