r/SoftwareTips

▲ 116 r/SoftwareTips+2 crossposts

WordPress 7.1.3 Security Update Released

⚠️ WordPress 7.1.3 is now available and fixes 7 security vulnerabilities in WordPress Core, along with 4 additional bugs.

The most important fixes include:

🔹 Stored XSS through pending comments
Malicious code could potentially run when an administrator opens the Comments moderation screen.

🔹 SQL injection in the WordPress export system
Malicious input could remain hidden until someone runs a WordPress export.

🔹 Private comments exposed
Comments on private or unpublished posts could potentially be viewed by visitors who were not logged in.

🔹 Additional fixes
WordPress also patched an Imgur embed XSS issue, a denial-of-service bug, and several permissions-related vulnerabilities.

Interestingly, Anthropic reported 3 of the 7 vulnerabilities, with others reported by Trail of Bits, Patchstack, independent researchers, and the WordPress security team.

There are currently no known reports of these 7.1.3 vulnerabilities being actively exploited.

Still, I recommend updating sooner rather than later.

✅ Update WordPress Core to 7.1.3
✅ Confirm your backups are current
✅ Check older WordPress installations carefully, since some security fixes are still being backported

If automatic Core updates are enabled, your site may already be updated. See:
Dashboard → Updates

Stay patched!

reddit.com
u/hackrepair — 7 days ago
▲ 107 r/SoftwareTips+1 crossposts

Why Stateless REST API is the way to go ?

i have been working with spring boot and angular for a few years now and every api i have built or inherited is stateless. jwt in the header, no server session, done. nobody ever questioned it on any project i was on.

but i realized i never really asked myself why we do this by default. i know the usual answers like it scales easily and any instance can handle any request. but it feels like the state just moves somewhere else, to the token, to redis, to the database. so what are we really gaining ?

reddit.com
u/MousTN — 7 days ago
▲ 31 r/SoftwareTips+1 crossposts

I'm thinking of using a static site generator (11ty or Astro) to rebuild my website, which is best for lightly interactive components?

I have a website right now that's built in Angular. It's largely static, so I figure an SSG is a good thing to finally try out if I wanted to rebuild it, as I enjoy Angular but it's a bit overkill for the site situation I have.

That said, I do have a few spots where I have lightly interactive elements, such as some pages with tables on them that have a text input for search functionality. Type in some text and it filters the table to that text as you type.

I'm trying to decide which SSG to learn, and for a basic site such as this, would you recommend going with 11ty or Astro, and why?

reddit.com
u/rardk64 — 7 days ago