Closed (duplicate)
Project:
Documentation
Component:
Correction/Clarification
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2014 at 12:17 UTC
Updated:
4 Dec 2014 at 22:06 UTC
Jump to comment: Most recent
I am reporting https://www.drupal.org/requirements to moderators because:
in documentation stated that
Drupal 7: PHP 5.2.5 or higher (5.3 recommended).
Fresh installation of Drupal 7 on PHP 5.4, 5.5 allow xss
install Drupal with php 5.4, 5.5
add <img> tag to allowed tags for Filtered HTML text format
create Basic Page with Body in Filtered HTML text format and content <img src="  javascript:alert(0)">
Save Page
View page content - it is not filtered for javascript.
Please clarify documentation about versions of PHP for Drupal 7
I did not reported this in Drupal Core issues because in PHP 5.3 content is filtered.
| Comment | File | Size | Author |
|---|---|---|---|
| oisx76.jpg | 151.21 KB | andribas | |
| ay58c8.jpg | 100.22 KB | andribas |
Comments
Comment #1
killes@www.drop.org commentedunpublishing as a security vulnerabilty is mentioned.
Comment #2
klausiRepublished, this is a duplicate of #1210798: In PHP 5.4+, html_entity_decode() doesn't decode invalid numeric entities.
This is only a problem in IE6.
Comment #3
andribas commentedActually , this was request for clarification - is it safe to run Drupal 7 on php 5.4+?
For this comment https://www.drupal.org/requirements#comment-9402681
Comment #4
klausiYes, it is safe to run Drupal 7 on PHP 5.4+.
Comment #5
pwolanin commented