Every CVE Search/ Get API key

CVE-2021-3785

Cross-site Scripting (XSS) - Stored in yourls/yourls

8.8 HighFix available

yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.72%Up 0.1 points since Sep 16, 2021
90%50%10%1%

What each source reports

CVE List Score used 8.8

Cross-site Scripting (XSS) - Stored in yourls/yourls

yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Record
CVE-2021-3785
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2021-2092 8.8

yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Record
EUVD-2021-2092
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-m9fq-c9hp-59g7 5.4

Cross-site Scripting in yourls

yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in edit dialog.

Record
GHSA-m9fq-c9hp-59g7
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
NVD 5.4

yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Record
CVE-2021-3785
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
3.5 LowAV:N/AC:M/Au:S/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 5.4

yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Record
CVE-2021-3785
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-m9fq-c9hp-59g7 5.4

Cross-site Scripting in yourls

yourls is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in edit dialog.

Record
GHSA-m9fq-c9hp-59g7
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
yourls/yourls
Packagist
before 1.8.2
1.8.2
yourls/yourls
Packagist
before 1.8.2, plus listed versions
1.7.11.7.21.7.31.7.41.7.5
Show 4 moreShow less
1.7.61.7.91.81.8.1
1.8.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3785 is a high vulnerability (CVSS 8.8) in Yourls, published September 15, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.72%, the 54th percentile. Fixed in yourls/yourls 1.8.2.

References

MoveEnter Open