Review TYPO3_4-6 Merged

13745[SECURITY] t3lib_div::quoteJSvalue allows XSS

Oliver Hader CR +2 V +2 Hard +351 −121 updated 06/03/13, 20:49

Commit message

When t3lib_div::quoteJSvalue() was used with second
parameter set to TRUE closing HTML script tags were
not escaped correctly.

Now every character except harmless ones is encoded
to a hex representation.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Files 5