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=-5Fix Suggestion:
Update to version dev-feature/fa=-5mickey-kay/better-font-awesome-library (PHP):
Affected version(s) >=dev-dependabot/npm_and_yarn/lodash-4.17.21 <=dev-feature/fa-5-latestFix Suggestion:
Update to version no_fixmickey-kay/better-font-awesome (PHP):
Affected version(s) >=v2.0.0-beta1 <v2.0.0-beta4Fix Suggestion:
Update to version v2.0.0-beta4mickey-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.5Fix Suggestion:
Update to version dev-dependabot/npm_and_yarn/minimist-1.2.5mickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-dependabot/npm_and_yarn/ini-1.3.8 <1.4.1Fix Suggestion:
Update to version 1.4.1mickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-dependabot/npm_and_yarn/minimatch-3.0.8 <dev-bugfix/include-inline-v4-shim-cssFix Suggestion:
Update to version dev-bugfix/include-inline-v4-shim-cssmickey-kay/better-font-awesome (PHP):
Affected version(s) =dev-bugfix-add-missing-files <dev-bugfix/add-missing-filesFix Suggestion:
Update to version dev-bugfix/add-missing-filesmickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-dependabot/npm_and_yarn/getobject-1.0.2 <1.0.3Fix Suggestion:
Update to version 1.0.3mickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-master <dev-npm-build-specFix Suggestion:
Update to version dev-npm-build-specmickey-kay/better-font-awesome-library (PHP):
Affected version(s) =dev-bugfix/add-missing-files <dev-bugfix/escape-attrsFix Suggestion:
Update to version dev-bugfix/escape-attrsmickey-kay/better-font-awesome-library (PHP):
Affected version(s) >=v1.4.6 <2.0.3Fix Suggestion:
Update to version 2.0.3mickey-kay/better-font-awesome-library (PHP):
Affected version(s) >=dev-bugfix/remove-test-code <dev-feature/js-supportFix Suggestion:
Update to version dev-feature/js-supportRelated Resources (1)
Do you need more information?
Contact UsCVSS 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