#62409 closed defect (bug) (duplicate)
WordPress 6.7 Missing Escaping functionality for theme.php Some Variable
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.8 |
Component: | General | Keywords: | has-patch |
Focuses: | administration, coding-standards | Cc: |
Description
WordPress Version 6.7 missing Escaping functionality theme.php file... missing Escaping functionality is $themeactions?activate? and $themeactions?customize?.
File Location:- .../wp-admin/themes.php file line number 610, 617, 624...
I have shared the below screenshot...
Change History (5)
This ticket was mentioned in PR #7790 on WordPress/wordpress-develop by @abcd95.
6 months ago
#1
- Keywords has-patch added
6 months ago
#3
Hey @desrosj, Thanks for asking!
I did mean to close this. The moment is created this PR, another PR for the same issue was created and merged ( since the issue addressed security concerns ). Then since the issue was solved, I had to close the PR.
Note: See
TracTickets for help on using
tickets.
Trac ticket: Core - 62409
This PR adds proper escaping for theme names, URLs, and attributes in the themes.php file to prevent potential vulnerabilities.
### Changes Made:
esc_html()
escaping for theme name outputsesc_url()
escaping for theme action URLs: