In Form Builder (Afform), submitting a form involving an existing relationship unconditionally inverted relationship permission flags, reversing edit permissions between related contacts upon form re-submission.
Security Advisories
This page lists all security advisories since June 2013. For older security advisories see this post. Security release announcements (starting with v4.2) are also listed here.
To receive future CiviCRM security notices, subscribe to our notifications. Check here for details of our security policy and how to report a suspected security issue.
Users with permission to view their own invoices could access and generate contribution invoices belonging to other contacts by supplying arbitrary contribution identifiers.
In APIv4, update operations on contact type facades (Individual, Organization, and Household) did not enforce contact ACL checks, allowing unauthorized users to update contact records.
In Search Kit, unescaped tag labels rendered in "Merge Tags" success alerts allowed Cross-Site Scripting (XSS).
In Search Kit, literal filters configured on a search display embedded multiple times on the same form were not enforced, allowing unauthenticated users to bypass filter restrictions and access filtered search results.
In Form Builder (Afform), Afform.process did not verify that a pending submission belonged to the specified form, allowing submissions to be processed under the rules of a different form.
In Form Builder (Afform), form titles and search labels rendered in the gear menu evaluated Angular expressions, exposing administrative users to Cross-Site Scripting (XSS).
In Form Builder (Afform), submitting parentFormName in API arguments allowed overriding preset values on arbitrary forms with preset values from another form.
In Form Builder (Afform), submitting arbitrary file IDs in form submissions was permitted without validating whether the file belonged to the target record or was uploaded by the submitter.
In Form Builder (Afform), submitting group subscription form choices for a contact matched via deduplication rules allowed unauthenticated users to unsubscribe contacts from groups.
In Form Builder (Afform), autocomplete requests exploiting form field security overrides could target arbitrary entities unrelated to the field's foreign key reference, bypassing standard permission checks.
In Form Builder (Afform), Afform.submit failed to enforce permission checks on client-supplied submission IDs (sid), allowing unauthenticated users to process pending form submissions without authorization.
In Form Builder (Afform), entity action handling during form submission was unified to ensure proper action tracking and permission checks.
In Form Builder (Afform), submitting a form that matched an existing contact via deduplication rules would delete the contact's existing addresses, phones, and emails not present on the form, because join deletions were incorrectly permitted on matched contacts.
In Form Builder (Afform), prefill join lookups using ordinary non-autofill fields returned records belonging to other contacts, allowing unauthenticated users to access data of arbitrary contacts.
In Form Builder (Afform) links with page tokens, query-string parameters allowed executing arbitrary APIv4 calls as the link recipient using chained API parameters.
In Form Builder (Afform), prefill logic failed to apply saved search constraints configured on joined entity ID fields, allowing users to prefill and view joined records that did not match the form's saved search restrictions.
In Form Builder (Afform), contact deduplication rules were applied even when a contact had already been identified via autofill, allowing logged-in users submitting a form to unintentionally overwrite another contact's record if their submitted details matched a dedupe rule.
In Form Builder (Afform), unencoded tokens evaluated in confirmation messages and redirect URLs allowed Cross-Site Scripting (XSS).
In CiviCRM core, user input was improperly escaped in queries handling group filters, tagsets, scheduled reminder recipient lists, and campaign filters, leading to SQL injection.
In CiviCRM core, the Random Segment custom search failed to apply contact ACL restrictions, allowing users with permission to run custom searches to view contact records they were not authorized to access.
On public profile forms, default custom field pre-filling failed to verify entity type matching when loading parameters from the URL, allowing unauthenticated users to view custom field values belonging to unrelated entity types.
In CiviCRM core, user input was improperly sanitized in search filter queries for case tags, activity tags, location types, relationship parameters, participant fee IDs, and mailing filters, leading to SQL injection.
In Form Builder (Afform), the Saved Search Picker permitted users with "access CiviCRM" to view and edit saved search parameters for forms they didn't have access to.
In APIv4, template rendering for WorkflowMessage entities bypassed contact ACL checks when expanding tokens, allowing logged-in users with access to render templates to view restricted contact data.
