CVE-2021-1879

Apple iOS, iPadOS, and watchOS WebKit Cross-Site Scripting (XSS) Vulnerability

Published 2 Apr 2021 Updated 21 Oct 2025 CNA: apple

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 3 Nov 2021. US federal agencies had to act by 17 Nov 2021.

Name
Apple iOS, iPadOS, and watchOS WebKit Cross-Site Scripting (XSS) Vulnerability
Required action
Apply updates per vendor instructions.
Ransomware
Use in ransomware campaigns is not known
Notes
https://nvd.nist.gov/vuln/detail/CVE-2021-1879

Description

This issue was addressed by improved management of object lifetimes. This issue is fixed in iOS 12.5.2, iOS 14.4.2 and iPadOS 14.4.2, watchOS 7.3.3. Processing maliciously crafted web content may lead to universal cross site scripting. Apple is aware of a report that this issue may have been actively exploited..

Severity (CVSS)

6.1 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 7.08%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 29 Jan 2025):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-79 Improper Neutralization of Input During Web Page Generation

Affected products

As the CNA lists them.

ProductVersions
iOS and iPadOS
affected before 14.4
iOS
affected before 12.5
watchOS
affected before 7.3

Is my server affected?

This CVE is in iOS and iPadOS of Apple, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2021-1879 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.