Charitable Blog

Everything you need to know about Charitable and our team.

Release Notes: Charitable 1.6.51 Fixes a Critical Security Vulnerability

Last updated on

  • By

Last Friday we released Charitable 1.6.51, which fixes a critical security vulnerability affecting any website using Charitable. While we are not aware of any exploits of the vulnerability, we are urging everyone to upgrade to Charitable 1.6.51 as soon as possible.

For those using Charitable Ambassadors, version 2.1.8 was released yesterday, providing additional security fixes and updating is highly recommended. Charitable Recurring Donations 1.2.9 also has a small fix today related to form validation.

A bit of background

Last week, Charitable user Asif Minhas reached out to us about a Cross Site Scripting vulnerability. This vulnerability was limited in its severity, as it could only be exploited by users with the Campaign Manager role. This vulnerability has also been fixed in Charitable 1.6.51.

In the process of investigating this, we discovered a much more serious Cross Site Scripting vulnerability that could be exploited by anonymous users. The vulnerability was found on Thursday afternoon and on Friday evening we released Charitable 1.6.51.

There are a number of changes in Charitable 1.6.51 that may affect some users, which we will cover in a little more detail below.

Campaign Managers and the unfiltered_html capability

Charitable 1.6.51 removes the unfiltered_html capability from the Campaign Manager role. This means that Campaign Managers will not be able to add certain HTML tags such as <iframe> and <embed>, as well as Javascript code.

While there can be good reasons for Campaign Managers to have this role, we determined that the default in Charitable should be for this capability to only be available to Administrators. (WordPress also makes this capability available to the Editor role, but Editors are not able to create or edit campaigns, so this does not affect Charitable).

If you would like to continue providing Campaign Managers with the unfiltered_html capability, this can be achieved by using one of the role capability editor plugins listed at https://wordpress.org/support/article/roles-and-capabilities/#plugins.

Quick aside: As mentioned above, Editors and Administrators both have the ability to add unfiltered_html. If you would like to disable this altogether, you can do so by adding the following line to your wp-config.php file:

define( 'DISALLOW_UNFILTERED_HTML', true );

Adding HTML to donation amount descriptions

Previously, when adding suggested donation amounts, it was possible to add HTML to the suggested donation amount descriptions. With Charitable 1.6.51, this will no longer be possible by default.

But if you really want to be able to add HTML to your suggested donation amount descriptions, you can re-enable this ability using the charitable_sanitize_suggested_amount_description filter, by simple adding the following to a custom plugin, your theme’s functions.php file, or with a plugin like Code Snippets:

add_filter( 'charitable_sanitize_suggested_amount_description', '__return_false' );

Is it safe to do this? That depends on your situation. If the only people creating campaigns on your website are Administrators, then this should be fine. However, if you have Campaign Managers creating campaigns as well, or if you are using Charitable Ambassadors and campaign creators can set suggested amounts for their campaigns, be aware that this does allow those users to add HTML to their amount descriptions as well.

That said, even if you do turn off sanitization of the suggested amount descriptions, Charitable still ensures that no unsafe HTML is added, such as Javascript code, by filtering the content using wp_kses_post.

A final word

We’re sorry to everyone using Charitable for this security vulnerability. We’re disappointed and frankly more than a little bit embarrassed by this. We will continue to do our absolute best to make sure that Charitable is a simple, secure way for you to accept donations on your website.

Thank you to Asif Minhas, who reported the vulnerability related to Campaign Managers, and Robert Rowley from WPScan who was also in touch regarding the Campaign Managers issue.

If you have any concerns about this release or would like a hand with anything else related to Charitable, get in touch with us! We’re always happy to help.

If you have found a security vulnerability and would like to report it, please email us at [email protected].

author avatar
Eric Daams

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get free tips and resources right in your inbox, along with 60,000+ others

Join our Newsletter

We won’t spam you. We only send an email when we think it will genuinely help you. Unsubscribe at any time!

Featured Video:

Watch more videos on our YouTube channel.

What's New In Charitable

🔔 Subscribe to get our latest updates
📧 Subscribe to Emails

Email Subscription

Join our Newsletter

We won’t spam you. We only send an email when we think it will genuinely help you. Unsubscribe at any time!

Improvement New Security

📣 New Security Features

We’ve introduced a suite of new security tools to give you total control over who accesses your forms, plus a new way to tidy up your database.

Advanced Security Suite

Layered protection: Cloudflare, ReCAPTCHA, IP Controls, and Rate Limiting.

We have overhauled our security settings to stop bots without blocking real donors.

  • 🤖 Flexible Protection: Choose between Google reCAPTCHA v3 or the privacy-first Cloudflare Turnstile to block bots invisible.

  • 🚦 Rate limiting: Stop spam floods by limiting how many submissions an IP address can make in a set timeframe.

  • 🛑 Total control: Use the new IP Blacklist to block bad actors instantly, or the IP Whitelist to let your team bypass checks during testing.

The Clean Donation Tool

Go from “Testing” to “Live” in seconds.

Finished setting up your site and need to get rid of all those test transactions?

  • 🧹 Sweep it clean: Bulk delete test donations and donor records with a single click.

  • 📉 Accurate reporting: Ensure your revenue stats are 100% accurate for launch day.

  • ⚙️ Reset sequences: Automatically resets sequential invoice numbering.

.aioseo-author-bio-compact { display: flex; gap: 40px; padding: 12px; text-align: left; border: 1px solid black; border-radius: 5px; color: #111111; background-color: #FFFFFF; } .aioseo-author-bio-compact-left { flex: 0 0 120px; } .aioseo-author-bio-compact-right { flex: 1 1 auto; } .aioseo-author-bio-compact-left .aioseo-author-bio-compact-image { width: 120px; height: 120px; border-radius: 5px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header { display: flex; align-items: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-name { font-size: 22px; font-weight: 600; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-job-title { margin-left: 12px; padding-left: 12px; font-size: 18px; border-left: 1px solid gray; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main { margin: 12px 0; font-size: 18px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main > p:last-of-type { display: inline; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link { display: inline-flex; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link a { display: flex; align-items: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link a svg { fill: black; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-expertises { display: flex; flex-wrap: wrap; gap: 10px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-expertises .author-expertise { padding: 4px 8px; font-size: 14px; border-radius: 4px; background-color: #DCDDE1; color: inherit; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials { margin-top: 12px; display: flex; gap: 6px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials .aioseo-social-icon-tumblrUrl { margin-left: -2px; } .aioseo-author-bio-compact-site-editor-disclaimer { color: black; margin-bottom: 12px; font-style: italic; } @media screen and (max-width: 430px ) { .aioseo-author-bio-compact { flex-direction: column; gap: 20px; } .aioseo-author-bio-compact-left .aioseo-author-bio-compact-image { display: block; margin: 0 auto; width: 160px; height: 160px; } .aioseo-author-bio-compact-right { text-align: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header { justify-content: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials { justify-content: center; } }
author avatar
Eric Daams
donation form New

🏗️ Visual Donation Form Builder

Building the perfect donation form just got easier. We have completely reimagined how you create forms with a new drag-and-drop interface.

Design Visually, in Real-Time

No coding, no guessing. Just point, click, and build.

Say goodbye to confusing settings pages. You can now edit your form and see exactly what your donors will see, instantly.

  • 🖱️ Drag & Drop: Easily add fields like names, addresses, or file uploads by dragging them exactly where you want them.

  • 🎨 Customize everything: Click any field to tweak labels, placeholders, and requirement settings on the fly.

  • 👁️ Live preview: See your changes immediately as you make them—ensure your form flows perfectly before you hit publish.

Flexible & Powerful

Works with all your existing campaigns.

  • 🧩 Deep customization: Add custom HTML, shortcodes, or CSS classes for advanced branding.

  • ⚙️ Smart fields: Collect exactly what you need with support for dropdowns, checkboxes, dates, and hidden fields.

.aioseo-author-bio-compact { display: flex; gap: 40px; padding: 12px; text-align: left; border: 1px solid black; border-radius: 5px; color: #111111; background-color: #FFFFFF; } .aioseo-author-bio-compact-left { flex: 0 0 120px; } .aioseo-author-bio-compact-right { flex: 1 1 auto; } .aioseo-author-bio-compact-left .aioseo-author-bio-compact-image { width: 120px; height: 120px; border-radius: 5px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header { display: flex; align-items: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-name { font-size: 22px; font-weight: 600; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-job-title { margin-left: 12px; padding-left: 12px; font-size: 18px; border-left: 1px solid gray; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main { margin: 12px 0; font-size: 18px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main > p:last-of-type { display: inline; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link { display: inline-flex; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link a { display: flex; align-items: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link a svg { fill: black; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-expertises { display: flex; flex-wrap: wrap; gap: 10px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-expertises .author-expertise { padding: 4px 8px; font-size: 14px; border-radius: 4px; background-color: #DCDDE1; color: inherit; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials { margin-top: 12px; display: flex; gap: 6px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials .aioseo-social-icon-tumblrUrl { margin-left: -2px; } .aioseo-author-bio-compact-site-editor-disclaimer { color: black; margin-bottom: 12px; font-style: italic; } @media screen and (max-width: 430px ) { .aioseo-author-bio-compact { flex-direction: column; gap: 20px; } .aioseo-author-bio-compact-left .aioseo-author-bio-compact-image { display: block; margin: 0 auto; width: 160px; height: 160px; } .aioseo-author-bio-compact-right { text-align: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header { justify-content: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials { justify-content: center; } }

author avatar
Eric Daams
Leaderboards New

🏆 Donor Leaderboards!

Turn your fundraising into a community event. Recognize your most generous supporters and inspire friendly competition with our new leaderboard tools.

Gamify Your Fundraising

Celebrate your top donors and encourage others to climb the ranks.

Create a public “Hall of Fame” to give your donors the recognition they deserve.

  • 🎨 Two stunning layouts: Choose the List View for a clean, data-rich table or the Card View for a modern, visual grid with avatars.

  • 🥇 Automatic highlights: The top 3 supporters get special Trophy and Crown icons to make them stand out.

  • 🧩 Place it anywhere: Add it to any page using the new Gutenberg Block, or drop it directly into your campaign using the Visual Builder.

Total Customization

You decide what to show and what to hide.

  • ⚙️ Flexible data: Choose to display or hide donation amounts, donor counts, or avatars.

  • 🔄 Lifetime stats: Works seamlessly with Recurring Donations to show a donor’s all-time total impact.

.aioseo-author-bio-compact { display: flex; gap: 40px; padding: 12px; text-align: left; border: 1px solid black; border-radius: 5px; color: #111111; background-color: #FFFFFF; } .aioseo-author-bio-compact-left { flex: 0 0 120px; } .aioseo-author-bio-compact-right { flex: 1 1 auto; } .aioseo-author-bio-compact-left .aioseo-author-bio-compact-image { width: 120px; height: 120px; border-radius: 5px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header { display: flex; align-items: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-name { font-size: 22px; font-weight: 600; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-job-title { margin-left: 12px; padding-left: 12px; font-size: 18px; border-left: 1px solid gray; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main { margin: 12px 0; font-size: 18px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main > p:last-of-type { display: inline; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link { display: inline-flex; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link a { display: flex; align-items: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link a svg { fill: black; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-expertises { display: flex; flex-wrap: wrap; gap: 10px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-expertises .author-expertise { padding: 4px 8px; font-size: 14px; border-radius: 4px; background-color: #DCDDE1; color: inherit; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials { margin-top: 12px; display: flex; gap: 6px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials .aioseo-social-icon-tumblrUrl { margin-left: -2px; } .aioseo-author-bio-compact-site-editor-disclaimer { color: black; margin-bottom: 12px; font-style: italic; } @media screen and (max-width: 430px ) { .aioseo-author-bio-compact { flex-direction: column; gap: 20px; } .aioseo-author-bio-compact-left .aioseo-author-bio-compact-image { display: block; margin: 0 auto; width: 160px; height: 160px; } .aioseo-author-bio-compact-right { text-align: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header { justify-content: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials { justify-content: center; } }
author avatar
Eric Daams
Improvement New templates

🎨 New Templates & List Builder

Launch faster and design better. We’ve added three professional campaign templates and a versatile new content block to help you tell your story.

3 New Campaign Templates

Ready-to-use designs for specific fundraising needs.

Don’t start from scratch. Pick a template tailored to your cause and launch in minutes.

  • 🎄 Holiday Fundraiser: A warm, festive design perfect for year-end giving, toy drives, or food pantries.

  • 🎓 School Fundraiser: Built for PTAs and sports teams. clearly highlights goals like playground upgrades or classroom tech.

  • Church Fundraiser: A trustworthy layout designed for building funds, mission trips, and tithes.

The New “List” Block

Organize your campaign details without writing code.

Make your campaign pages easier to scan and more visually engaging with our new builder block.

  • 📝 Flexible layouts: Choose from 3 distinct styles to display sponsorship levels, donation perks, or project goals.

  • 🎨 Rich customization: Add colorful headlines, support for emojis, and unlimited list items.

  • 👣 Smart footers: Include a built-in footer for extra context or a final Call to Action.

.aioseo-author-bio-compact { display: flex; gap: 40px; padding: 12px; text-align: left; border: 1px solid black; border-radius: 5px; color: #111111; background-color: #FFFFFF; } .aioseo-author-bio-compact-left { flex: 0 0 120px; } .aioseo-author-bio-compact-right { flex: 1 1 auto; } .aioseo-author-bio-compact-left .aioseo-author-bio-compact-image { width: 120px; height: 120px; border-radius: 5px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header { display: flex; align-items: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-name { font-size: 22px; font-weight: 600; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header .author-job-title { margin-left: 12px; padding-left: 12px; font-size: 18px; border-left: 1px solid gray; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main { margin: 12px 0; font-size: 18px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main > p:last-of-type { display: inline; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link { display: inline-flex; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link a { display: flex; align-items: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-main .author-bio-link a svg { fill: black; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-expertises { display: flex; flex-wrap: wrap; gap: 10px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-expertises .author-expertise { padding: 4px 8px; font-size: 14px; border-radius: 4px; background-color: #DCDDE1; color: inherit; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials { margin-top: 12px; display: flex; gap: 6px; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials .aioseo-social-icon-tumblrUrl { margin-left: -2px; } .aioseo-author-bio-compact-site-editor-disclaimer { color: black; margin-bottom: 12px; font-style: italic; } @media screen and (max-width: 430px ) { .aioseo-author-bio-compact { flex-direction: column; gap: 20px; } .aioseo-author-bio-compact-left .aioseo-author-bio-compact-image { display: block; margin: 0 auto; width: 160px; height: 160px; } .aioseo-author-bio-compact-right { text-align: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-header { justify-content: center; } .aioseo-author-bio-compact-right .aioseo-author-bio-compact-footer .author-socials { justify-content: center; } }
author avatar
Eric Daams