Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2022-4512
Published:February 13, 2023
Updated:May 15, 2026
The Better Font Awesome WordPress plugin before 2.0.4 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.
Affected Packages
mickey-kay/better-font-awesome (PHP):
Affected version(s) =dev-feature/bfa-pro <dev-feature/fa=-5
Fix Suggestion:
Update to version dev-feature/fa=-5
mickey-kay/better-font-awesome-library (PHP):
Affected version(s) >=dev-dependabot/npm_and_yarn/lodash-4.17.21 <=dev-feature/fa-5-latest
Fix Suggestion:
Update to version no_fix
mickey-kay/better-font-awesome (PHP):
Affected version(s) >=v2.0.0-beta1 <v2.0.0-beta4
Fix Suggestion:
Update to version v2.0.0-beta4
mickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-dependabot/npm_and_yarn/path-parse-1.0.7 <dev-dependabot/npm_and_yarn/minimist-1.2.5
Fix Suggestion:
Update to version dev-dependabot/npm_and_yarn/minimist-1.2.5
mickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-dependabot/npm_and_yarn/ini-1.3.8 <1.4.1
Fix Suggestion:
Update to version 1.4.1
mickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-dependabot/npm_and_yarn/minimatch-3.0.8 <dev-bugfix/include-inline-v4-shim-css
Fix Suggestion:
Update to version dev-bugfix/include-inline-v4-shim-css
mickey-kay/better-font-awesome (PHP):
Affected version(s) =dev-bugfix-add-missing-files <dev-bugfix/add-missing-files
Fix Suggestion:
Update to version dev-bugfix/add-missing-files
mickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-dependabot/npm_and_yarn/getobject-1.0.2 <1.0.3
Fix Suggestion:
Update to version 1.0.3
mickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-master <dev-npm-build-spec
Fix Suggestion:
Update to version dev-npm-build-spec
mickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-bugfix/add-missing-files <dev-bugfix/escape-attrs
Fix Suggestion:
Update to version dev-bugfix/escape-attrs
mickey-kay/better-font-awesome-library (PHP):
Affected version(s) >=v1.4.6 <2.0.3
Fix Suggestion:
Update to version 2.0.3
mickey-kay/better-font-awesome-library (PHP):
Affected version(s) >=dev-bugfix/remove-test-code <dev-feature/js-support
Fix Suggestion:
Update to version dev-feature/js-support
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
EPSS
Base Score:
0.65