Skip to content
Laskyr

Plugins · async-javascript · data as of 2026-11-29

Is Async JavaScript safe? Known vulnerabilities and latest version

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.

Last updated on wordpress.org on 2023-06-22, more than two years ago. Plugins that stop getting updates also stop getting security fixes.

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

  1. 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”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. 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.

NVD CVE-2020-36854Wordfence advisoryWordfence advisory

Recent activity

Browse vulnerabilities

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

Badge for your site or docs (states facts with a date, not a verdict):
Async JavaScript vulnerability status badge
<a href="https://laskyr.com/plugins/async-javascript"><img src="https://laskyr.com/plugins/async-javascript/badge.svg" alt="Async JavaScript vulnerability status"></a>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.