Website Form - ReCaptcha
website_form_recaptcha · OCA/website
Merged into website_form in 14.0, then merged into website in 15.0
Health
55/100
fair
-
Security10/251 grave, 0 minor
-
Activity0/25Last human commit 56 months ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 6 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.43 MB
Module directory on disk
Code analysis
1 migration note
4 models
2 views
2 HTTP endpoints
Security warnings
website— Adds credential fields (recaptcha_key_secret) with no `groups=` to 'website', which every user (portal/public included) can read under core's access rights: they can read them over RPC. Restrict the fields with `groups=` (e.g. base.group_system). CWE-200. acl-public-read-secret
Found by automated static analysis: these patterns are usually risky, but only a manual review of the module can confirm a real issue. Methodology
Migration considerations
view_website_config_settings— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- website_apps_store, website_crm_recaptcha
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_frontend |
website_form_recaptcha Assets | ir.ui.view | qweb | Inherits website.assets_frontend |
view_website_config_settings |
reCaptcha Settings | res.config.settings | form | Inherits website.res_config_settings_view_form |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/website/recaptcha/form_enabled/<string:model_name> |
WebsiteForm.has_website_form_access |
public | http | POST | sudo website |
/website/recaptcha/ |
WebsiteForm.recaptcha_public |
public | http | POST | sudo website |
Models touched 4
New fields (1)
-
website_form_recaptchaBooleanhelp='(Deprecated) Requires successful ReCaptcha for form submission.'string='Require ReCaptcha'
No public methods.
New fields (3)
-
has_google_recaptchaBooleancompute='_compute_has_google_recaptcha'inverse='_inverse_has_google_recaptcha'readonly=False args: 'Google reCaptcha' -
recaptcha_key_secretCharreadonly=Falserelated='website_id.recaptcha_key_secret' -
recaptcha_key_siteCharreadonly=Falserelated='website_id.recaptcha_key_site'
No public methods.
New fields (2)
-
recaptcha_key_secretChar -
recaptcha_key_siteChar
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…