Plugins · async-javascript · data as of 2026-11-29
Is Async JavaScript safe? Known vulnerabilities and latest version
- Latest version
- 2.21.08.31
- Last updated
- 2023-06-22
- Active installs
- 60,000+
- Known issues on record
- 1
- Unpatched in latest
- 0
- Tested up to WP
- 6.2.16
Async Javascript lets you add 'async' or 'defer' attribute to scripts to exclude to help increase the performance of your WordPress website. — by David Clough
What to do
- Update to the latest version (2.21.08.31). Anything older than 2.20.02.27 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.
With WP-CLI: wp plugin get async-javascript --field=version shows what you run; wp plugin update async-javascript updates it.
Check your version
Running more than one plugin? Paste your whole plugin list and check them all at once.
Known vulnerabilities
1 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.
medium 6.4 CVE-2020-36854 · published 2025-10-18
Stored cross-site scripting (XSS) in Async JavaScript (older than 2.20.02.27)
- Affected
- older than 2.20.02.27
- Fixed in
- 2.20.02.27
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record · score by Wordfence
Details from the advisory
The Async JavaScript plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.19.07.14. This is due to missing authorization checks on the aj_steps AJAX aciton along with a lack on sanitization on the settings saved via the function. This makes it possible for authenticated attackers with subscriber level permissions and above to inject malicious web scripts into a page that execute whenever a user accesses that page.
Recent activity
- 2023-06-22 — latest release on wordpress.org (2.21.08.31).
- 2025-10-18 — Stored cross-site scripting (XSS) disclosed (CVE-2020-36854), fixed in 2.20.02.27.
Get an email when Async JavaScript has a new vulnerability
Free. One email when a new Async JavaScript issue is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Closed on wordpress.org
- Check your whole plugin list
Types found in this plugin: Cross-site scripting (XSS) (1)
Questions about Async JavaScript
Is Async JavaScript safe to use?
No known unpatched vulnerabilities in the latest version (2.21.08.31). As of 2026-11-29. 1 issue is on record for older versions; version 2.20.02.27 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep Async JavaScript on the latest version (2.21.08.31) and remove it if you do not use it.
Which versions of Async JavaScript are vulnerable?
Known issues on record (newest first): Stored cross-site scripting (XSS) (older than 2.20.02.27, fixed in 2.20.02.27). The full list with sources is on this page.
What is the latest version of Async JavaScript?
2.21.08.31, according to wordpress.org (last updated 2023-06-22). It has 60,000+ active installs.
What should I do if my Async JavaScript is out of date?
Take a backup, then update it from Dashboard > Updates (or run wp plugin update async-javascript). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/async-javascript (Plugins API), fetched 2026-11-29.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- We list a CVE only when its references or advisory name this exact plugin, so a few real issues may be missing. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/async-javascript"><img src="https://laskyr.com/plugins/async-javascript/badge.svg" alt="Async JavaScript vulnerability status"></a>