Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#55916 new defect (bug)

Font size in post editing is not validated

Reported by: floridsleeves Owned by:
Priority: normal Milestone: Awaiting Review
Component: Editor Version: 6.0
Severity: normal Keywords:
Cc: Focuses:

Description

In the post editing page, the font size is constrained by front end HTML 'type=number'.
https://ibb.co/NLhJvKY

However, this font size can be changed by intercepting the requests. And the resulted HTML will contain the font size making no sense:

<p style="font-size:aaapx">User’s blogs</p>

This may result in data corruption or web injection.

Change History (1)

#1 @sabernhardt
4 years ago

  • Component General → Editor
Note: See TracTickets for help on using tickets.