CVE-2018-20838: AMP for WP - Stored XSS
- Cve: CVE-2018-20838
- Name: AMP for WP - Stored XSS
- Description: ampforwp_save_steps_data in the AMP for WP plugin before 0.9.97.21 for WordPress allows stored XSS.
- Impact: Attackers can execute malicious scripts in users' browsers, leading to session hijacking or defacement.
- Remediation: Update to version 0.9.97.21 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs to have the ability to store data
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01058
- Epss percentile: 0.6533
- Assignee: [email protected]
- Published at: 2019-05-13T05:29:00Z
- Age in days: 2752
- Modified at: 2026-06-17T01:53:34Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20838
- Nvd status: modified
- Checked, none or zero: nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2018-11-20 | — | no |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.wordfence.com/blog/2018/11/xss-injection-campaign-exploits-wordpress-amp-plugin/ | nvd | 2019-05-13 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.wordfence.com/blog/2018/11/xss-injection-campaign-exploits-wordpress-amp-plugin/ | nvd | Exploit, Third Party Advisory |
| https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/trunk/changelog.txt | nvd | Release Notes, Third Party Advisory |
| https://wordpress.org/plugins/accelerated-mobile-pages/#developers | nvd | Release Notes, Third Party Advisory |
| https://wpscan.com/vulnerability/46b90ea0-df16-4af4-a6e9-fa5d6e702d15/ | vulncheck | Vulncheck Reported Exploitation |
| https://ampforwp.com/critical-security-issues-has-been-fixed-in-0-9-97-20-version/ | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| magazine3:amp_for_wp | < 0.9.97.21 | no | nvd | /v1/products/magazine3/amp_for_wp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2018-11-20
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-05-13
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, exploitation seen, initial access
- Not known: known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts