CVE-2019-16332: In the api-bearer-auth plugin before 20190907 for WordPress, the server parameter is not correctly filtered in the swagger-config.yaml.php file, and it is possible to inject JavaScript code, aka XSS.

medium Affects api-bearer-auth (WordPress plugin). Feed 2026.10.29.2, updated 2026-10-29; published ; advisory modified .

In the api-bearer-auth plugin before 20190907 for WordPress, the server parameter is not correctly filtered in the swagger-config.yaml.php file, and it is possible to inject JavaScript code, aka XSS.

Package
api-bearer-auth (WordPress plugin) WordPress
Affected versions
<2019-09-07
Fixed in
2019-09-07
Severity
medium  CVSS 6.1
Exploitation
not on CISA KEV · EPSS 6% (93.0th percentile)
Published
2019-09-15
Source
nvd

References

CWE-79
NVD recordapi-bearer-auth (WordPress plugin) advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /var/www/html

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories