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

- Severity: High 8.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-13T12:46:38.000Z
- Modified: 2026-06-17T04:23:21.220Z
- Weaknesses: CWE-352
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- miguelo2008 ToolBar to Share: up to 2.0
- toolbar_to_share_project toolbar_to_share: up to 2.0

## Every score

- Wordfence: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

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

## Sources

- CVE List: [CVE-2022-1918](https://www.cve.org/CVERecord?id=CVE-2022-1918), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2022-1918](https://nvd.nist.gov/vuln/detail/CVE-2022-1918), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1918 · Whole record: https://cve.day/CVE-2022-1918.json · Rebuilt by cve.day 2026-11-25T22:58:12.243Z
