Date: 
Wednesday, Feb 21st, 2018
Advisory ID: 
BACKDROP-SA-CORE-2018-001
Security risk: 
Critical
Vulnerability: 
Cross Site Scripting
Versions affected: 
  • Backdrop Core versions prior to 1.9.2
Description: 

JavaScript cross-site scripting prevention is incomplete - Critical

Backdrop has a Backdrop.checkPlain() JavaScript function which is used to escape potentially dangerous text before outputting it to HTML. This function does not correctly handle all methods of injecting malicious HTML, leading to a cross-site scripting vulnerability under certain circumstances.

The PHP functions which Backdrop provides for HTML escaping are not affected.

Solution: 

Upgrade your site to the latest version of Backdrop CMS. Download available at Backdrop CMS download page. Update instructions are available at https://backdropcms.org/upgrade#from-previous-versions.

Reported By: 
Fixed By: 
Coordinated By: 

Security email list

Backdrop maintains a security mailing list. Whenever a security release comes out, an email will be sent to everyone subscribed to that list, announcing the new release. Please follow the steps below to join the Security email list.

  1. Log in to backdropcms.org
  2. Edit your profile
  3. Switch to the "Subscriptions" tab
  4. Check the box labeled "Security updates"
  5. Save the form