Content Mask changelog

By Alex, on WordPress.org since 2018. 1,000+ active installs.

Browse code

93 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 1.8.5.6
    • Security: fixed a Stored Cross-Site Scripting vulnerability in the per-post “Header Scripts & Styles” and “Footer Scripts” fields. A user who could edit posts, including Contributors, could store an event-handler payload that ran when an administrator previewed the pending post and, once published, for every visitor. Input from users without the unfiltered_html capability is now filtered with wp_kses while the markup is still live, and every affected render path filters the fully decoded value as its final step, which also neutralizes any payload already stored. Reported by Andrea Fiocchi via WPScan.
    • Fixed: the per-role restriction in can_mask_content() was inverted and never took effect, so an administrator could not disable Content Mask for a role. The role check now applies, and its hook registration moved to the init hook so the current user is available when it runs.
    Source Diff vs 1.8.5.5
  2. 1.8.5.5
    • Security: require the target post type’s publish capability before creating a Content Mask over AJAX. This fixes a privilege escalation where a Contributor could publish a live mask (including a redirect) without the publish_posts capability.
    • Hardening: replaced the deprecated user_can_edit_post() permission checks with current_user_can( ‘edit_post’ ) on the edit, delete, toggle, and permission AJAX actions.
    • Hardening: every request value is now unslashed and sanitized through a single helper, the metabox and admin inputs included, resolving all Plugin Check sanitization and nonce notices.
    • Fixed: the Refresh Transient action referenced undefined variables and could fail on PHP 8; it now rebuilds and stores the cache correctly.
    • Maintenance: replaced an obfuscated internal URL with its plain value, switched to wp_parse_url() and wp_strip_all_tags(), normalized line endings, corrected nonce-failure responses, removed a pass-by-reference notice, added the plugin text domain and license headers, and tested up to WordPress 7.0.
    Source Diff vs 1.8.5.4
  3. 1.8.5.4
    • Security: require edit-post capability before returning a post’s role/condition permissions over AJAX, fixing an Insecure Direct Object Reference (IDOR). Reported by Nabil Irawan (CVE-2025-58012).
    • Hardening: the “Content Mask enabled” admin notice now reads the current post from the trusted global rather than the raw request parameter.
    Source Diff vs 1.8.5.3
  4. 1.8.5.3
    • Revive abandoned notice, address SSRF
    Source Diff vs 1.8.5.2
  5. 1.8.5.2
    • Fix titles on iframe pages with some themes
    Source Diff vs 1.8.5.1
  6. 1.8.5.1
    • Fix null-coalescing operator for PHP 7.3 in admin panel
    Source Diff vs 1.8.5
  7. 1.8.5
    • Minor CSS Fixes for Columns
    • Allow custom “Go Back
    Source Diff vs 1.8.4.15
  8. 1.8.4.15
    • fix for non-slashed relative urls in Download method
    Source Diff vs 1.8.4.14
  9. 1.8.4.14
    • adjust kses for SVGs and output
    Source Diff vs 1.8.4.13
  10. 1.8.4.13
    • Fix count in unique views
    Source Diff vs 1.8.4.11
  11. 1.8.4.11
    • allow more in kses
    Source Diff vs 1.8.4.10
  12. 1.8.4.10

    No notes for this release in the current readme.

    Source Diff vs 1.8.4.9
  13. 1.8.4.9
    • Allow ‘id’ attribute in style and script tags for kses
    • More pragmatic approach to wp_kses for scripts, styles, and HTML elements in single script areas and universal script areas
    • Fixed Universal CSS in iframe and download
    Source Diff vs 1.8.4.8
  14. 1.8.4.8

    No notes for this release in the current readme.

    Source Diff vs 1.8.4.7
  15. 1.8.4.7
    • Adjust wp_kses to allow script src
    Source Diff vs 1.8.4.6
  16. 1.8.4.6
    • Fixed individual footer scripts not being parsed and displayed
    Source Diff vs 1.8.4.5
  17. 1.8.4.5
    • Fixed missed/broken escapes and entity decoding for some header/footer sections
    Source Diff vs 1.8.4.4
  18. 1.8.4.4
    • Fixed missed SE/EL/AV mantra
    • Added kses to some outputs
    Source Diff vs 1.8.4.3
  19. 1.8.4.3
    • Additional early sanitization
    • additional late escaping in iframe output
    Source Diff vs 1.8.4.2
  20. 1.8.4.2
    • Additional Sanitization and Escaping
    • Fixed accidental var_dump
    • Adjusted script field display
    Source Diff vs 1.8.4.1
  21. 1.8.4.1
    • Added much more escaping and sanitization where required. Attributes, URLs, and bare HTML are escaped.
    • Added individual function nonces for additional security, no longer reliant on a single nonce.
    • Changed most concatenation to formatted strings for clarity and ease of escaping.
    Source Diff vs 1.8.4
  22. 1.8.4
    • Added WP Nonce Validation to all AJAX requests
    • Checked user permissions/caps where necessary
    • Patched security vulnerability where authenticated users could modify non-content mask options
    Source Diff vs 1.8.3.2
  23. 1.8.3.2
    • Add “Footer Scripts” section for Download and Iframe method
    • Fix minor script access issue
    Source Diff vs 1.8.3.1
  24. 1.8.3.1

    No notes for this release in the current readme.

    Source Diff vs 1.8.3
  25. 1.8.3
    • Fix PHP notice from smoke test for post_type_XYZ_checked dynamic variable
    • Adjust single post type metabox to better illustrate Mask state
    • Additional CSS to handle screen sizes better
    Source Diff vs 1.8.2.9
  26. 1.8.2.9
    • Prevent Content Mask save_meta function from running on post types that aren’t considered “public”, also hid meta box
    Source Diff vs 1.8.2.8
  27. 1.8.2.8

    No notes for this release in the current readme.

    Source Diff vs 1.8.2.7
  28. 1.8.2.7
    • Fixed an issue with headers being sent and an error showing in the customizer
    Source Diff vs 1.8.2.6
  29. 1.8.2.6
    • Fixed an issue where Content Mask admin styles were being applied to other elements on the edit.php admin base screen.
    Source Diff vs 1.8.2.5
  30. 1.8.2.5

    No notes for this release in the current readme.

    Source Diff vs 1.8.2.4
  31. 1.8.2.4
    • Modified IFL check
    • Added Post Types to “Hide Content Mask From” list. Removes meta box and all active page processing for specificed post type(s).
    Source Diff vs 1.8.2.3
  32. 1.8.2.3
    • In some instances, roles aren’t set when checked. Forced to array or skip in all cases.
    Source Diff vs 1.8.2.2
  33. 1.8.2.2
    • Replace deprecated functions
    Source Diff vs 1.8.2.1
  34. 1.8.2.1

    No notes for this release in the current readme.

    Source Diff vs 1.8.2
  35. 1.8.2
    • Added “Content Mask Role” permissions. All roles enabled by default. Users with “manage_options” capability can disable Content Masking admin page/metabox for each role.
    • Require “manage_options” capability to modify content mask options or scripts/styles settings
    Source Diff vs 1.8.1.10
  36. 1.8.1.10
    • Minor updates to IFL Request check, fix two further undefined index warnings on iframe specific requests
    Source Diff vs 1.8.1.9
  37. 1.8.1.9
    • Check infractions list, fix PHP string/array comparison warning in metabox.
    Source Diff vs 1.8.1.8
  38. 1.8.1.8
    • Fix in_array errors in metabox
    Source Diff vs 1.8.1.7
  39. 1.8.1.7
    • Fixed two inconsequential PHP notices
    Source Diff vs 1.8.1.6
  40. 1.8.1.6
    • Updated jQuery.load call to jQuery.on(‘load’)
    Source Diff vs 1.8.1.5
  41. 1.8.1.5
    • Added an option “Return Link” to allow users to go back to their previous page.
    Source Diff vs 1.8.1.4
  42. 1.8.1.4
    • Accidentally left in diagnostic code in “condition permissions”, this has been removed.
    Source Diff vs 1.8.1.3
  43. 1.8.1.3
    • Fixed scripts and styles saving in the admin
    • Added condition permissions
    Source Diff vs 1.8.1.2
  44. 1.8.1.2
    • Allow use of standard wp_head() in iframes
    Source Diff vs 1.8.1.1
  45. 1.8.1.1
    • Minor fixes from 1.8.1
    Source Diff vs 1.8.1
  46. 1.8.1
    • Patched some minor security vulnerabilities exposed by PHP Grinder
    • Allow Role-Based Content Mask Permission Locking.
    • Added Support-based Iframe Query-Parameter Overrides
    Source Diff vs 1.8.0.6
  47. 1.8.0.6
    • Allow variants of ‘localhost’ in the Content Mask URL
    Source Diff vs 1.8.0.5
  48. 1.8.0.5
    • Allow passing of URL parameters to iframe
    • update baked in version
    Source Diff vs 1.8.0.4
  49. 1.8.0.4
    • Updated Chrome User Agent String for HTTP Headers option
    Source Diff vs 1.8.0.3
  50. 1.8.0.3
    • Fixed displaying visitor tracking columns in admin panel
    Source Diff vs 1.8.0.2
  51. 1.8.0.2
    • Compatibility for WordPress 5.4 confirmed
    • Fixed an issue where the Refresh Transient option wasn’t working properly
    • Made find/replace functions in the download method more reliable.
    • Added content generator meta tag in the tag on the download method.
    Source Diff vs 1.8.0.1
  52. 1.8.0.1
    • Fixed an issue where Error Reporting was turned on for the entire site after updating
    Source Diff vs 1.8.0
  53. 1.8.0
    • Introduced a method to easily create new content masks from the Content Mask admin panel.
    • Content Mask has partnered with WhirLocal to embed Landing Pages and other content. A link to sign up for a FREE account has been added to the admin panel.
    Source Diff vs 1.7.2
  54. 1.7.2

    No notes for this release in the current readme.

    Source Diff vs 1.7.1
  55. 1.7.1

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.11
  56. 1.7.0.11

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.10
  57. 1.7.0.10

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.9
  58. 1.7.0.9

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.8
  59. 1.7.0.8

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.7
  60. 1.7.0.7

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.6
  61. 1.7.0.6

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.5
  62. 1.7.0.5

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.4
  63. 1.7.0.4

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.3
  64. 1.7.0.3

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.2
  65. 1.7.0.2

    No notes for this release in the current readme.

    Source Diff vs 1.7.0.1
  66. 1.7.0.1

    No notes for this release in the current readme.

    Source Diff vs 1.7
  67. 1.7

    No notes for this release in the current readme.

    Source Diff vs 1.6.0.3
  68. 1.6.0.3

    No notes for this release in the current readme.

    Source Diff vs 1.6.0.2
  69. 1.6.0.2

    No notes for this release in the current readme.

    Source Diff vs 1.6.0.1
  70. 1.6.0.1

    No notes for this release in the current readme.

    Source Diff vs 1.6
  71. 1.6

    No notes for this release in the current readme.

    Source Diff vs 1.5.2.1
  72. 1.5.2.1

    No notes for this release in the current readme.

    Source Diff vs 1.5.1
  73. 1.5.1

    No notes for this release in the current readme.

    Source Diff vs 1.5
  74. 1.5

    No notes for this release in the current readme.

    Source Diff vs 1.4.4.1
  75. 1.4.4.1

    No notes for this release in the current readme.

    Source Diff vs 1.4.4
  76. 1.4.4

    No notes for this release in the current readme.

    Source Diff vs 1.4.3.1
  77. 1.4.3.1

    No notes for this release in the current readme.

    Source Diff vs 1.4.3
  78. 1.4.3

    No notes for this release in the current readme.

    Source Diff vs 1.4.2
  79. 1.4.2

    No notes for this release in the current readme.

    Source Diff vs 1.4.1
  80. 1.4.1

    No notes for this release in the current readme.

    Source Diff vs 1.4
  81. 1.4

    No notes for this release in the current readme.

    Source Diff vs 1.3
  82. 1.3

    No notes for this release in the current readme.

    Source Diff vs 1.2.2
  83. 1.2.2

    No notes for this release in the current readme.

    Source Diff vs 1.2.1
  84. 1.2.1

    No notes for this release in the current readme.

    Source Diff vs 1.2.0.2
  85. 1.2.0.2

    No notes for this release in the current readme.

    Source Diff vs 1.2.0.1
  86. 1.2.0.1

    No notes for this release in the current readme.

    Source Diff vs 1.2
  87. 1.2

    No notes for this release in the current readme.

    Source Diff vs 1.1.4.2
  88. 1.1.4.2

    No notes for this release in the current readme.

    Source Diff vs 1.1.4.1
  89. 1.1.4.1

    No notes for this release in the current readme.

    Source Diff vs 1.1.4
  90. 1.1.4

    No notes for this release in the current readme.

    Source Diff vs 1.1.3
  91. 1.1.3

    No notes for this release in the current readme.

    Source Diff vs 1.1.2
  92. 1.1.2

    No notes for this release in the current readme.

    Source Diff vs 1.1.1
  93. 1.1.1

    No notes for this release in the current readme.

    Source