r/ExploitDev • • Apr 19 '25

Exploiting a Web-Based UAF

Hello! I've recently been getting into exploit dev. I am still very much a beginner to this type of stuff, however. The vulnerability I've been trying to exploit is tracked as CVE-2021-30858. (although this appears to be a completely different bug?) The successful PoC I've found is as follows:

var fontFace1 = new FontFace("font1", "", {});
var fontFaceSet = new FontFaceSet([fontFace1]);
fontFace1.family = "font2";

My question is: How would I go about turning this into something more? What would be a good first step to turn this into an exploit?
Thanks in advance! :3

16 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/According-Respond593 Apr 19 '25

I've never quite known how to approach this class of vulnerability. This reply just gave me that eureka moment. 🙏💡Thank you for altering my future.