Home

Description

The Accessibly plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the REST API in all versions up to, and including, 3.0.3. The plugin registers REST API endpoints at `/otm-ac/v1/update-widget-options` and `/otm-ac/v1/update-app-config` with the `permission_callback` set to `__return_true`, which means no authentication or authorization check is performed. The `updateWidgetOptions()` function in `AdminApi.php` accepts user-supplied JSON data and passes it directly to `AccessiblyOptions::updateAppConfig()`, which saves it to the WordPress options table via `update_option()` without any sanitization or validation. The stored `widgetSrc` value is later retrieved by `AssetsManager::enqueueFrontendScripts()` and passed directly to `wp_enqueue_script()` as the script URL, causing it to be rendered as a `<script>` tag on every front-end page. This makes it possible for unauthenticated attackers to inject arbitrary JavaScript that executes for all site visitors by changing the `widgetSrc` option to point to a malicious external script.

PUBLISHED Reserved 2026-03-06 | Published 2026-04-15 | Updated 2026-04-15 | Assigner Wordfence




HIGH: 7.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-04-14:Disclosed

Credits

Yoschanin Pulsirivong finder

Ronnachai Sretawat Na Ayutaya finder

Ronnachai Chaipha finder

References

www.wordfence.com/...-ff80-425f-b83d-29c422b40c6a?source=cve

plugins.trac.wordpress.org/...blic/Api/BaseApiController.php

plugins.trac.wordpress.org/...blic/Api/BaseApiController.php

plugins.trac.wordpress.org/...runk/public/admin/AdminApi.php

plugins.trac.wordpress.org/....0.3/public/admin/AdminApi.php

plugins.trac.wordpress.org/...lic/Data/AccessiblyOptions.php

plugins.trac.wordpress.org/...lic/Data/AccessiblyOptions.php

plugins.trac.wordpress.org/...trunk/public/AssetsManager.php

plugins.trac.wordpress.org/...3.0.3/public/AssetsManager.php

cve.org (CVE-2026-3643)

nvd.nist.gov (CVE-2026-3643)

Download JSON