AI (Artificial Intelligence)
2 security fixes in one update. AI (Artificial Intelligence) fixed 2 separate security bugs this week: 1 access bypass, 1 cross site scripting. One update covers all of them. The most serious, SA-CONTRIB-2026-120, is explained here and the full list is at the end of the card.
The module does not properly check access rights on related fields or referenced items during translation. A user with an ordinary account could translate items they should not have access to. They could not read or update the affected items in other ways.
- Who could do thisOnly someone with a login on your site.
- Does it apply to youAny site using this module.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate AI (Artificial Intelligence) to 1.3.13 or 1.4.8, whichever branch you are on.
For developers: what the fix changed
This fix adds a custom access callback named `checkAccess` in `AiTranslateController.php` to verify entity update and translation access. It also introduces field and referenced entity access checks in `TextExtractor.php` and `ReferenceFieldExtractor.php` to ensure users can only translate content they are permitted to view and update.
Also in this release The release also fixes a cross site scripting vulnerability in the AI Chatbot module by filtering YAML output and updates package versions.
modules/ai_chatbot/src/Controller/DeepChatApi.php+1 −1modules/ai_chatbot/src/Form/ChatForm.php+3 −3modules/ai_ckeditor/package-lock.json+2 −2modules/ai_ckeditor/package.json+1 −1modules/ai_translate/ai_translate.routing.yml+2 −1 fixmodules/ai_translate/src/Controller/AiTranslateController.php+61 −1 fixmodules/ai_translate/src/Plugin/FieldTextExtractor/ReferenceFieldExtractor.php+2 −2 fixmodules/ai_translate/src/TextExtractor.php+4 −0 fixui/mdxeditor/package-lock.json+2 −2ui/mdxeditor/package.json+1 −1
- Moderately critical · Access Bypass · SA-CONTRIB-2026-120
- Moderately critical · Cross site scripting · SA-CONTRIB-2026-119